Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2
-
None
-
Arch Linux, 64 Bit
-
-
0de4b326d8e02c228ebefcac1abe069c45cbb5c4 (qt/qtbase/5.12)
Description
In my application, the main window is usually displayed as fullscreen with the WindowStaysOnTopHint window flag set.
If I then display the QFileDialog to open a new file, about half of the time the dialog is displayed behind the main window (I can see it, as the main window is partially transparent). Due to the window flag WindowStaysOnTopHint, I'm unable to bring it to the foreground (though keyboard navgation obiously still works). The other half of the time it works just fine.
Also, the dialog keeps the same behaviour per session of my application (i.e., if it's displayed once behind the main window it will do so all the time until I quit the app, and vice versa)
This happens whether it use the static QFileDialog::getOpenFileName() method or construct a QFileDialog object, setting its modality to true and display it via show(). This only happened since Qt 5.4.2, it worked before...
Attachments
Issue Links
- relates to
-
QTBUG-56829 [regression] QDialog can go behind its parent window
-
- Closed
-
-
QTBUG-70756 QDialog is not top-level
-
- Closed
-
For Gerrit Dashboard: QTBUG-46626 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
244221,9 | xcb: fix issue with dialogs hidden by other windows | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |