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

Windows: The transient child of QDockWidget disappears, when we return QDockWidget again in dock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.3.0
    • 5.2.0
    • None
    • Windows
    • 989d439d93341fc8f046a5a6cefe6ed39625b908 (stable, 25.2.2014, 5.3)

    Description

      I have a button on QDockWidget.
      When user press the button I create the QDialog and show it (dlg-show()).
      And here we have the two cases:
      Case (1): If the QDockWidget was in dock and we press the button, the QDialog is always be visible, independent from what we are doing with QDockWindow (we can undock and dock it again).
      Case (2) if the QDockWidget was out of dock and we press the button for show dialog, the QDialog will be visible, BUT only before we return the QDockWidget to dock.

      Is it bug?

      p.s.
      I attach a simply project for demonstrate it.

      Attachments

        1. dock_test.zip
          4 kB
        2. qtbug36666.zip
          3 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              nen777w Ruslan Teliuk
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes