Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.3
-
-
6ce44c53c7aa802b817b72d49de88e4da0181488 (qt/qtbase/dev) d8424686851ed843e2a799091895aa8d3a0e7645 (qt/qtbase/6.1) d9127da87ebd44ad034fed336a61c5dde63b23ac (qt/tqtc-qtbase/5.15) 35ec4c011ca9ed12ceec0c088c0e815210b38c33 (qt/qtbase/6.2)
Description
QPrintPreviewDialog printer seems to set a wrong orientation in some cases if it's set by QPageSetupDialog. Changing the orientation directly in the QPrintPreviewDialog using the actions "orientation" and "landscape" works fine.
This can be reproduced with the "fontsampler" example.
Steps to reproduce the problem:
- Check any font
- file > printpreview
- toggle the orientation in the dialog:
- landscape
- portrait
- landscape
- open page setup
- toggle the orientatoin
- portrait
- landscape
- "ok" to close the page setup dialog
Now as a result the QPrintPreviewDialog will keep the correct orientation action checked BUT the actual orientation will be the opposite. Additionally now toggling the orientation in the QPrintPreviewDialog using the actions will be wrong i.e. portrait action changes the orientation to landscape and landscape does the opposite.
Attachments
Issue Links
- duplicates
-
QTBUG-86820 qpagesetupdialog_win.cpp - setting landscape orientation
- Closed