Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0
-
-
0417a5f34 (dev), 02b6ca807 (dev), 668b031fa (6.8)
Description
Wayland does not have a concept that matches Qt's application global modality. For example, a QMessageBox without a parent should stay on top and block input to all other windows, but this does not work properly for Qt Wayland clients.
This can be easily worked around in most cases by specifying a parent for the modal dialog, but this is a cross-platform regression.
This can be seen with Qt Creator new project dialog as well. with these steps:
File | New Project... | Qt Quick Application | Choose...
then the Project Location dialog appears
with the Name field highlighted in blue
but when I start typing, the text appears in the code editor behind it, instead of in the name field of the dialog..
Attachments
Issue Links
- is duplicated by
-
QTBUG-79126 Dialogs behavior on Wayland is wrong (modal/modaless)
- Closed
- relates to
-
QTBUG-118813 Window modal dialogs can go behind their parent dialogs with XdgShell
- Closed
- resulted from
-
QTBUG-86541 Modal dialog does not stay on top with Wayland
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-90005 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554089,9 | compositor: Implement xdg_dialog_v1 | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
568437,3 | Rename getter for modal properties to isModal | dev | qt/qtwayland | Status: MERGED | +2 | +1 |
569615,2 | Rename getter for modal properties to isModal | 6.8 | qt/qtwayland | Status: MERGED | +2 | 0 |