Bug 76946 - XPrintJob::cancelJob doesn't cancel printing
Summary: XPrintJob::cancelJob doesn't cancel printing
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version: 4.2.2.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 11:58 UTC by Tiago
Modified: 2015-01-15 00:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tiago 2014-04-02 11:58:42 UTC
Problem description: 

I have a PrintJobListener that at JOB_STARTED event do some validations on the document and in some situations want to cancel the printing by calling cancelJob at XPrintJob Object.

Steps to reproduce:
1. Implement and attach a PrintJobListener to the current model.
2. At the printJobEvent method call cancelJob in the XPrintJob object
3. The printing process continues and isn't cancelled.

Current behavior:

Printing doesn't stop

Expected behavior:

Printing doesn't start
Comment 1 Robinson Tryon (qubit) 2015-01-15 00:13:57 UTC
(In reply to Tiago from comment #0)
> Steps to reproduce:
> 1. Implement and attach a PrintJobListener to the current model.
> 2. At the printJobEvent method call cancelJob in the XPrintJob object
> 3. The printing process continues and isn't cancelled.

Hi Tiago,
Do you have a document or code that can be used to reproduce this bug? That would help us to move forward with the report.

Status -> NEEDINFO

(Please change status -> UNCONFIRMED after you provide repro information. Thanks!)


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.