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

Mac OS X: Hiding popup window hides main window and ends up in unusable state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 4.7.0
    • None
    • Mac OS X 10.6, Qt 4.7/Cocoa
    • macOS

      I've attached a minimal example that shows the problem,
      I constructed it from what we do with the Opt+Tab popup in Qt Creator and which lead to QTCREATORBUG-1665.
      In the example, click the "open" button and then "hide".

      The widget hierarchy is:

      main widget <-- other widget <-- popup widget

      where popup widget has flag Qt::Popup.

      In "open", popup widget is shown, in "hide" the other widget is reparented to 0 and hidden, and then the popup widget hidden, with the result that the main widget is hidden.
      It can't be shown again by clicking on the dock icon, only by cmd+tabbing away from the app and back again. But then, popup widget is still visible, and can't be closed by clicking (which should work since it's a popup).

        1. hide_test.zip
          3 kB
          Eike Ziller
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes