Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.15.1
-
Fix Version/s: None
-
Component/s: GUI: Printing
-
Labels:
-
Platform/s:
-
Commits:6ce44c53c7aa802b817b72d49de88e4da0181488
Description
Setting landscape orientation in QPageSetupDialog causes inconsistent display in QPrintPreviewDialog.
Preview stays in portrait orientation whereas button with landscape icon is checked.
In qpagesetupdialog_win.cpp PageSetupDlg is used to obtain paper size which might be given with width greater than height
whereas QPageSize is defined always in a portrait layout regardless of what current printer orientation is set to.
Setting page size from values obtained directly from PageSetupDlg: ptPaperSize.x and ptPaperSize.y might cause the problem.
Attachments
Issue Links
- is duplicated by
-
QTBUG-93764 QPrintPreviewDialog: printer orientation not updated by QPageSetupDialog
-
- Closed
-