I have created a patch for this bug.

Evince was preparing the document for printing in a background job. This job 
was canceled when Evince was closed. 
The patch solves this by
1) not canceling the print job when the document window is closed
2) hiding instead of deleting the document window, when there are still print 
jobs running.
(this is needed, because some printing code depends on the window)

Furthermore I found that printing setting may be associated with the
wrong print job if the user prints the document multiple times with
different settings within a short period of time (i.e. when the first
print job is not finished yet). This is also fixed in this patch.

Additionally I changed the print job title from "evince_print" to the
document name.

This is my first patch to an open source project, so tell me about my
mistakes.


** Attachment added: "evince_printfix.diff"
   http://launchpadlibrarian.net/9293401/evince_printfix.diff

-- 
evince aborts printing when window is closed during creation of print job
https://bugs.launchpad.net/bugs/139907
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for evince in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to