Any dock window that is added to a QMainWindow will stay on top of anything after being pulled out.
This is problematic when you try and minimize the application and when you want to use a dialog over this dock. When a new dialog is created, it is hidden behind the dock, despite its modality.
Example: Build then click the button. The input appears on top of the main widget as expected. Now pull out the dock widget and click again. It is now buried behind the floating dock and inaccessible.
Steps to reproduce with qtbase/examples/widgets/mainwindows/mainwindow:
- Launch example
- Undock a dock widget
- Choose "File/Load..."
- Note: dock is on top of file dialog
|For Gerrit Dashboard: QTBUG-38964|
|96194,2||XCB: Always set X window attributes in QXcbWindow::setWindowFlags().||5.4||qt/qtbase||Status: MERGED||+2||0|
|101067,1||QDockWidget: Prevent repetitive unplugging of floating dock widgets.||5.4.0||qt/qtbase||Status: ABANDONED||+2||0|
|101105,2||QDockWidget: Prevent repetitive unplugging of floating dock widgets.||5.4||qt/qtbase||Status: MERGED||+2||0|