Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.8.0
-
Windows 10
Description
While using QMessageBox with a per monitor dpi awareness mode enabled, when moving the messagebox from highdpi (200% scaled) monitor to a low dpi (100%) monitor, the contained icon and text are not scaled up. The messagebox size, buttons and title are properly scaled up.
As a reference, QMessageBox::aboutQt() does scale properly.
Steps to reproduce:
- Have a high dpi (4k) primary monitor with 200% scaling set
- Have a secondary low dpi monitor with no scaling (100%)
- Run attached sample, so that it starts in the primary high dpi monitor
- Move message box to secondary low dpi monitor
- EXPECTED: Message box is properly scaled up
- ACTUAL: The icon and text of the message box are not scaled
Attachments
Issue Links
- duplicates
-
QTBUG-55510 Windows are the wrong size when moved between monitors with different DPI
- Closed
For Gerrit Dashboard: QTBUG-58959 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
186135,2 | Standarddialogs example: Enable high-dpi scaling | 5.9 | qt/qtbase | Status: ABANDONED | -2 | 0 |
186431,7 | Fix DPI of QWidget with parent on a different screen | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
186432,2 | WIP: Windows QPA: don't change screen until we release the mouse or we get the DPICHANGED event | 5.9 | qt/qtbase | Status: ABANDONED | -2 | 0 |
186433,5 | Windows QPA: don't resize fixed sized windows when changing screen | 5.9 | qt/qtbase | Status: MERGED | -2 | 0 |
199115,3 | Windows QPA: Correctly check for fixed sized windows in WM_DPICHANGED | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |