pescuma / swt-paperclips

Automatically exported from code.google.com/p/swt-paperclips
0 stars 0 forks source link

[Carbon] Disposing a PrintPreview sends a print job to the printer #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is in PaperClips.cancelDummyJob, where we are calling endJob()
instead of cancelJob() due to an old bug in SWT, which was fixed in 3.3.

The fix is to call endJob() only for SWT versions prior to 3.3, otherwise
call cancelJob().

Original issue reported on code.google.com by qualidaf...@gmail.com on 17 Dec 2008 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by qualidaf...@gmail.com on 17 Dec 2008 at 5:13

GoogleCodeExporter commented 9 years ago
I've committed a fix to SVN.

Gulganei, please checkout the latest sources into your workspace
and verify whether this fixes the problem.

Original comment by qualidaf...@gmail.com on 17 Dec 2008 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by qualidaf...@gmail.com on 17 Dec 2008 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by qualidaf...@gmail.com on 17 Dec 2008 at 5:44

GoogleCodeExporter commented 9 years ago
Fixed, verified by Gulganei:

"Yes, that appears to have solved the problem."

Original comment by qualidaf...@gmail.com on 18 Dec 2008 at 3:58