https://bugs.winehq.org/show_bug.cgi?id=37304
Bug ID: 37304 Summary: Different paper size enumerations between cloned printers Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv Assignee: wine-bugs@winehq.org Reporter: ralf.habacker@freenet.de
Created attachment 49616 --> https://bugs.winehq.org/attachment.cgi?id=49616 Fix bug using different enumeration value on user defined paper size (patch)
wine returns different user defined printer paper size enumerations on identical printers. On Windows 7 32bit I tested this behavior with two pdfcreater based printers and for both printer the same user defined paper size value is returned.
How to reproduce:
1. Create a printer with a postscript level 2 driver and at (I used file output for example file://tmp/printer1) 2. Create a second printer with a postscript level 2 driver (I used file output for example file://tmp/printer2) 3. run WINEDEBUG=+psdrv wine notepad
4. open print settings 5. choose printer1 and set paper size to a user defined page size (for example A1 or A0) 6. close print setting 7. open print settings 8. inspect trace for dmPaperSize struct member 9. select printer2 -> indicator: the preselected printer page size is not selected (in opposite to Windows 7) 10. choose the same paper size as used previously for printer1 11. inspect trace for dmPaperSize struct member -> the value is different compared to the value mentioned in step 8.
The appended patch fixes this issue.
https://bugs.winehq.org/show_bug.cgi?id=37304
--- Comment #1 from Ralf Habacker ralf.habacker@freenet.de --- Patch has been submitted to wine-devel mailing list.
https://bugs.winehq.org/show_bug.cgi?id=37304
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49616|0 |1 is obsolete| |
--- Comment #2 from Ralf Habacker ralf.habacker@freenet.de --- Comment on attachment 49616 --> https://bugs.winehq.org/attachment.cgi?id=49616 Fix bug using different enumeration value on user defined paper size (patch)
has been committed
https://bugs.winehq.org/show_bug.cgi?id=37304
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Ralf Habacker ralf.habacker@freenet.de --- patch including source bin and better comment has been committed
https://bugs.winehq.org/show_bug.cgi?id=37304
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6485c76ed311f2441deffbecf54 | |03fae4637dea7 Status|RESOLVED |CLOSED
--- Comment #4 from Ralf Habacker ralf.habacker@freenet.de --- other bugs has been state closed instead of resolved.
https://bugs.winehq.org/show_bug.cgi?id=37304
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
https://bugs.winehq.org/show_bug.cgi?id=37304
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Ralf Habacker from comment #4)
other bugs has been state closed instead of resolved.
Bugs are marked RESOLVED FIXED when the fix is committed, or when someone tests and reports them fixed. The fixed bugs are then all closed on the next release. If you close it prematurely, the fix will not be listed in the release notes.
https://bugs.winehq.org/show_bug.cgi?id=37304
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.28.