Bug 76946

Summary: XPrintJob::cancelJob doesn't cancel printing
Product: LibreOffice Reporter: Tiago <tiago.rossi>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: qubit
Version: 4.2.2.1 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

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.