Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.0, 6.1, 6.3
-
gnome-shell
xdg-shell v6
-
998af0776002b2c6c4f0ed70ba7e332a8215aa78 (qt/qtbase/6.2) 493a85a9e468874471057910a61e7c54a45eee83 (qt/qtbase/dev)
Description
On gnome-shell, in some widget applications, if one menu is opened while another is being closed, it's positioned in the top-left corner instead of the expected position.
This issue does not occur with the mainwindow or menus examples, but happens with qtcreator. Please add a comment if you know about a simpler example that exposes the issue.
The issue happens when a QMenu is created without a parent, i.e. QWidget::parentWidget() == nullptr
There are no such issues on weston or kwin. As far as I know, it only happens on gnome-shell.
Attachments
Issue Links
- is required for
-
QTBUG-68619 Make Qt Wayland with widgets usable on gnome-shell
- Closed
- relates to
-
QTBUG-124561 Qt.labs.platform context Menu appears out of the app window on Gnome/wayland
- Closed
-
QTCREATORBUG-20516 [REG 5.10.1 -> 5.11.0] Menus in wrong place on Wayland
- Closed
-
QTBUG-76061 Wayland: nested menus print warnings
- Closed
For Gerrit Dashboard: QTBUG-68636 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
232260,2 | WIP: Add QWidgetPrivate::logicalParentWidget and implement it for QMenus | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |
383091,10 | Widgets: setTransientParent() when a QMenu is a window | dev | qt/qtbase | Status: MERGED | +2 | 0 |
385262,2 | Widgets: setTransientParent() when a QMenu is a window | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |