Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.3, 6.4.0 FF
-
macOS 11, 12
-
-
da754d5b6 (dev), 7f5c5eb9c (6.4)
Description
How to reproduce
1. Use https://doc.qt.io/qt-6/qtwidgets-desktop-systray-example.html
2. Build and run the sample
3. Click the tray icon with the secondary click (aka. Right-click) and choose "Quit" from the context menu
Expected result
The app quits and the icon disappears
Actual result
The app window closes but the app keeps running and the icon stays visible.
If you click the icon again, the app quits and the icon disappears.
The app does expected behavior when the click in step 3 is done by Left-click
Attachments
Issue Links
- is duplicated by
-
QTBUG-105357 EventLoop does not quit properly
- Closed
- relates to
-
QTBUG-98504 QSystemTrayIcon example: selecting Quit from context menu shows unnecessary message
- Closed
For Gerrit Dashboard: QTBUG-103515 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
448087,1 | macOS: don't open system tray menu on right press | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
448089,2 | macOS: Use NSStatusItem.menu to manage system tray menu | dev | qt/qtbase | Status: MERGED | +2 | 0 |
448113,2 | macOS: Use NSStatusItem.menu to manage system tray menu | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |