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

    • d425563bac3d44eb360027f49622c29b8b4e84f5 (qtbase/5.5, 23.3.2015)

      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

        1. qtbug44928_autocapture_diag_4.diff
          7 kB
          Friedemann Kleint
        2. qtbug44928_diag_log4.txt
          1.0 kB
          Friedemann Kleint
        3. qtbug44928_diag_log5.txt
          3 kB
          Friedemann Kleint
        4. qtbug44928_diag.zip
          2 kB
          Friedemann Kleint
        5. qtbug44928_systray.zip
          4 kB
          Friedemann Kleint
        6. qtbug44928.zip
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes