Printing paper orientation wrong, Win10 for non-letter size
Submitted by Paul Culley
Link to original bug (#792847)
Description
Created attachment 367343 Output of Gtk-demo printing widget
Can demonstrate with gtk3-demo.exe on Windows 10 ver 1709 Gtk 3.18.9 system. With print dialog, select 'Microsoft Print to PDF'. Hit 'preferences' button. Note that 'Portrait' is default. hit 'Advanced' button. Select 'Tabloid' paper size (or other, non-letter/A4 size). complete dialogs and print.
I sometimes get a complete crash, sometimes it works.
I've tried three different pdf printers. When it works, I get the same results I get if another pdf printer was selected. The same steps with the PDF995 printer I have installed is attached (since luck has it crashing as I make this report).
The results show that the page is incomplete, it appears that gtk thinks it is in portrait mode (which was default in dialogs), however the paper is actually in Landscape mode, so it does not fill page horizontally, and is cut off vertically.
If you select 'Landscape' with 'Tabloid' your output is again rotated, compared to what gtk thinks (header extends off page to right, page length suggest formatted for shorter height).
Attachment 367343, "Output of Gtk-demo printing widget":
gtk3-demo.pdf
Version: 3.18.x