Bug 57607 - XPrintJobListener doesn't receive print job callbacks
Summary: XPrintJobListener doesn't receive print job callbacks
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
(earliest affected) release
Hardware: Other All
: medium major
Assignee: Not Assigned
Depends on:
Reported: 2012-11-27 11:52 UTC by Mark
Modified: 2012-11-29 16:27 UTC (History)
0 users

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
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).