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

[REG 4.8.6->5.4.1] Windows: Widget with Qt::Popup window flag can’t be closed if there is no other visible widget

    XMLWordPrintable

Details

    • d425563bac3d44eb360027f49622c29b8b4e84f5 (qtbase/5.5, 23.3.2015)

    Description

      When a widget is created with Qt::Popup window flag it is not closed when clicking outside the widget. The attached example shows how a popup widget can be opened by clicking the system tray icon, but it is not closed when you click outside the widget.

      With 4.8.6 the popup widget was closed when clicking outside the widget as expected.

      Steps to reproduce:

      • Launch attached example qtbug44928 which opens a popup via timer
      • Note: Popup widget is opened
      • Click outside the popup widget
      • EXPECTED: Widget is closed
      • ACTUAL: Widget stays open
      • Repeat, but click inside first, then outside. Pop up closes
      • Repeat with -s, showing the main widget: Pop up can be closed by clicking outside

      Attachments

        1. qtbug44928_autocapture_diag_4.diff
          7 kB
        2. qtbug44928_diag_log4.txt
          1.0 kB
        3. qtbug44928_diag_log5.txt
          3 kB
        4. qtbug44928_diag.zip
          2 kB
        5. qtbug44928_systray.zip
          4 kB
        6. qtbug44928.zip
          1 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
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes