Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.0
-
None
Description
- Here is an official page with samples https://doc-snapshots.qt.io/qt5-5.9/qml-qt-labs-platform-systemtrayicon.html
- I take this code for testing:
SystemTrayIcon { visible: true iconSource: "qrc:/images/tray-icon.png" menu: Menu { MenuItem { text: qsTr("Quit") onTriggered: Qt.quit() } } }
- Build and run appliation
- Click on system tray icon (tray menu should be shown)
- Click outside the system tray menu
Expected result: system tray menu for my application closed automatically
Actual result: system tray menu still visible until one of the items from it will be clicked or system tray icon will be clicked again.
P.S.: it works on macOS (see attached video)