Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.6.0
-
None
-
Qt 5.6 on KDE neon User Edition
-
9ec028071409410dba192ec1c1e228cf3aea224b
Description
I have a dual monitor setup. When I open a QMenu (eg. context menu) and it touches the right corner of the right screen, submenus open on the right corner of the left screen rather than to the left of their parent.
If the sub menu is even just a single pixel away from the corner of the screen the menu is properly positioned left of its parent.
Submenus of the misplaced submenu are also misplaced, opening right of their parent (ie. at the left corner of the right screen, rather than - again - left of their parent); not sure if this is intentional, though, as the menu wouldn't be torn apart.
xrandr -q:
Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 16384 x 16384 DisplayPort-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 50.00 1680x1050 59.88 1600x900 60.00 1280x1024 60.02 1440x900 59.90 1280x800 59.91 1280x720 60.00 50.00 59.94 1024x768 60.00 800x600 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 60.00 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis) DVI-0 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 434mm x 270mm 1680x1050 59.88*+ 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.08 60.00 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08
Attachments
Issue Links
- relates to
-
QTBUG-60513 Qmenu menu is displayed incorrectly when using multiple monitors at different heights
- Closed
-
QTBUG-76162 When using separate dual displays (no Xinerama), menus will popup on display 0 even if the parent is on display 1
- Closed
-
QTBUG-57524 macOS: QML Combobox drops down does not show in some cases.
- Closed
-
QTBUG-57689 QMenu can appear on wrong display in macOS when menu is taller than half the screen's height
- Closed
For Gerrit Dashboard: QTBUG-53813 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182207,6 | Make sure QWindow screen is set before calling QPlatformWindow::create | 5.8 | qt/qtbase | Status: ABANDONED | 0 | 0 |
182392,3 | Remove magic +1 from QMenu::internalDelayedPopup | 5.8 | qt/qtbase | Status: ABANDONED | 0 | 0 |
195730,3 | Make sure QWindow screen is set before calling QPlatformWindow::create | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |