Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0 Beta 1, 5.9.1
-
Windows 10 64 bit
Qt 5.9 Beta snapshot #424
-
9ad0e09f5bbaab8ced2ea6bb175bbd13935413cf
Description
- Have a primary UHD-screen scaled to 200% and a secondary FullHD-screen scaled to 100%.
- Open the Main Window example.
It's in Examples\Qt-5.9\widgets\mainwindows\mainwindow\mainwindow.pro - At the very beginning of
main.cppthe main function, add the line:QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- Build and run the example.
- Move the example's window to the secondary screen.
- Right-click into one of the dock windows.
The appearing context menu is far too small:
- Right-click into the same dock window again.
Now the context menu has the right size. - Move the example's window to the primary screen.
- Right-click into one of the dock windows.
The appearing context menu is far too big:
- Right-click into the same dock window again.
Now the context menu has the right size.
The context menus should always have the right size. With Qt 5.8 this used to work correctly.
Attachments
Issue Links
- is duplicated by
-
QTBUG-62152 Menus have wrong size after the window has been moved to a monitor with a differnt DPI
-
- Closed
-
- relates to
-
QTBUG-64647 QQC Menu shows up on wrong display after changing primary display (adding/removing monitor to/from laptop via USB)
-
- Closed
-
-
QTBUG-73231 When a menubar spans across displays using different DPIs then opening menus on either display can show the menu in the wrong place
-
- Closed
-
- resulted from
-
QTBUG-59484 [REG 5.8 -> 5.9] Windows: When showing a menu of app on secondary screen in HighRes/LowRes multimonitor setup with HighDpiScaling active, app gets stuck moving the menu between screens
-
- Closed
-
For Gerrit Dashboard: QTBUG-59794 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203545,1 | QMenu: Fix size on high DPI + multi screen | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
203551,7 | QMenu: Fix size on high DPI + multi screen | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
211988,4 | QMenu: Corner case size fix (high DPI + multi screen) | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
262490,4 | QMenu size fix - Mark items dirty on screen change | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |