Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0 Alpha
-
None
Description
Any use of context menu on a QSystemTrayIcon with Qt 5.8 beta or newer (old git clone of 5.8 doesn't have this issue) doesn't display any menu when clicking on the system tray icon on OS X 10.12.1 Sierra.
The system tray icon appears, but clicking it with left or right mouse button doesn't display the menu or the menu actions.
I tested with both Qt 5.8 branch from git and 5.8 beta. I didn't have this issue/bug with an earlier git clone of 5.8 branch (from a few months or so ago).
Since the systemtray demo/example doesn't put a context menu on the systemtray icon I've attached a small sample project that shows a QSystemTrayIcon with a menu. This works fine with Qt 5.7 (with patched qmake so it can build) and doesn't show the menu with Qt 5.8 bulit from git or 5.8.0 beta.
Attachments
Issue Links
- is duplicated by
-
QTBUG-58314 Systray context menu does not work under OSX with Qt 5.8.0 RC
- Closed