Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
5.5.0
-
None
-
OS X 10.11
-
-
30bff91c3920fdf92d81d42983e31e8d0766969f (gitweb)
Description
OS X 10.11 introduced a new feature for having the menu bar automatically show and hide. When this feature is enabled while creating a QSystemTrayIcon, the resultant icon in the menu bar will be blank and invisible.
Looking into the source code, I think the problem is in qcocoasystemtrayicon.mm. In this circumstance the reported height of the menu bar using [[[NSApplication sharedApplication] mainMenu] menuBarHeight] will be 0 pixels, causing the icon to be resized down into oblivion.
Attachments
Issue Links
- duplicates
-
QTBUG-48960 [QSystemTrayIcon] Icon not drawn
- Closed