Bug 57607

Summary: XPrintJobListener doesn't receive print job callbacks
Product: LibreOffice Reporter: Mark <mperkin5>
Component: sdkAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: medium    
Version: 3.6.2.2 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mark 2012-11-27 11:52:12 UTC
If you register the XPrintJobListener with the XPrintJobBroadcaster when printing a document, the PrintableState.JOB_SPOOLED is called, but no further callbacks are made, eg PrintableState.JOB_COMPLETED, PrintableState.JOB_FAILED etc

This was working fine with Open Office 2.3.1, but Open Office 3.3 and now Libre Office has this bug.

I have set the priority to major because there is no longer anyway to print and determine its success or failure.
Comment 1 Mark 2012-11-29 16:27:46 UTC
In Openoffice 2.x, when printing it sends a JOB_STARTED when it starts, and
JOB_COMPLETED when it has finished.

This was a bug in OO 2.x (not that a bug was reported) because it did not match
the documentation.

JOB_COMPLETED means that OO has finished the printing process and spooling is
about to start.  JOB_SPOOLED is the final completion message (which was never
sent in OO 2.x)

LibreOffice correctly sends the JOB_SPOOLED message, but not any other intermediate steps (no requirement from me).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.