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

QDockWidget: show() and hide() inconsistencies when widget is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.4.0
    • Widgets: Main Window
    • None

      When a QDockWidget is currently docked and its widget is closed, the dock widget will remain visible.

      However, when a QDockWidget is currently floating and its widget is closed, the dock widget disappears.

      It seems that when this dock widget disappears, it does so without having received a hideEvent(). Although the dock widget is clearly not visible, QDockWidget::isVisible() still returns true.

      If one were to explicitly call hide() on the floating dock widget when its widget is destroyed, this introduces the problem where any subsequent show() will not have any affect. The dock widget will remain invisible.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            gpf Shane McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes