Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.1
-
Windows 7
-
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
Issue Links
- relates to
-
QTBUG-7386 CLONE -QMenu exec()'ed on QSystemTrayIcon::Trigger won't disappear (Windows-only)
-
- Closed
-
- resulted in
-
QTBUG-44929 [REG 5.4->5.5] XCB: QSystemTrayIcon::activated(QSystemTrayIcon::ActivationReason) no longer emitted
-
- Closed
-