Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.5.3, 6.7.0
Description
Linux Ubuntu 22.04.4 / Wayland
Qt Creator 13.0.0
Steps to reproduce:
- Open example app - https://doc.qt.io/qt-6/qtquickcontrols-texteditor-example.html
- Run the app on desktop.
- When it's launched, right-click in the editor.
- Check the position of the context menu.
- Click anywhere in the editor
- The context menu does not disappear.
Expected: The context menu should be shown close to the cursor.
Actual: The context menu appears outside the window. I cannot close it by clicking anywhere. It can be closed only after selecting anything from the menu.
17:20:01: Starting /home/lukasz/Qt/Examples/Qt-6.7.0/quickcontrols/texteditor/build/Desktop_Qt_6_7_0_64-Debug/texteditorexample... QML debugging is enabled. Only use this in a safe environment. QQuickPixmap: connectFinished() called when not loading. Gdk-Message: 17:20:18.542: Window 0x5981113838a0 is a temporary window without parent, application will not be able to position it on screen.(texteditorexample:6086): Gdk-WARNING **: 17:20:18.542: Couldn't map as window 0x5981113838a0 as popup because it doesn't have a parent Gdk-Message: 17:20:27.224: Window 0x5981113838a0 is a temporary window without parent, application will not be able to position it on screen.(texteditorexample:6086): Gdk-WARNING **: 17:20:27.224: Couldn't map as window 0x5981113838a0 as popup because it doesn't have a parent Gdk-Message: 17:20:41.936: Window 0x5981113838a0 is a temporary window without parent, application will not be able to position it on screen.(texteditorexample:6086): Gdk-WARNING **: 17:20:41.936: Couldn't map as window 0x5981113838a0 as popup because it doesn't have a parent Gdk-Message: 17:20:49.544: Window 0x5981113838a0 is a temporary window without parent, application will not be able to position it on screen.(texteditorexample:6086): Gdk-WARNING **: 17:20:49.544: Couldn't map as window 0x5981113838a0 as popup because it doesn't have a parent
Reproducibility: 100%
Attachments
Issue Links
- relates to
-
QTBUG-119110 There are potential crash issues when some submenus are expanded.
- Closed
-
QTQAINFRA-6225 Qt Test Attack - Q2, 2024
- Open
-
QTBUG-68636 Some popups (i.e.) menus are misplaced on gnome-shell
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124561 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556985,2 | WIP try different ways to open and position native Gtk menus | dev | qt/qtbase | Status: NEW | -2 | 0 |