Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38964

XCB: QDockWidget Always On Top

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.0
    • 5.2.1
    • QPA: X11/XCB
    • None
    • Fedora 17
    • db069e7f3009075937a772e780df40c63a871999 (5.4, 17.10.2014, 5.4)

      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

        1. mainwindow.ui
          0.6 kB
        2. mainwindow.h
          0.3 kB
        3. mainwindow.cpp
          0.8 kB
        4. main.cpp
          0.2 kB
        5. DockBug.pro
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            mudoff Marc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: