Switch monochrome systray icon color depending on systray brightness#2393
Switch monochrome systray icon color depending on systray brightness#2393dragotin merged 1 commit intoowncloud:masterfrom svkurowski:issue-2215
Conversation
#2215 As of version 10.10 Yosemite, Mac OS X offers the user the option to use a dark version of the dock and menu bar. The systray icon was black even on the dark menu bar, thus rendering it nearly impossible to spot.
|
I like the patch, thanks for caring!
Overall 👍 |
|
Previous Behaviour:
New Behaviour:
Regarding the use of |
|
@dragotin Got the contributor agreement |
Switch monochrome systray icon color depending on systray brightness
|
Would you mind backporting this to the 1.7 branch, please? |
|
Sorry for the delay. I cherry-picked the commit into the 1.7 branch in 01a7212 |
|
Why? there will be no 1.7 release, and 1.8 is pending. |
|
I was not aware of that. It doesn't hurt though I guess. If you want me to, however, I can revert it. |

I am working on issue #2215 in this branch.
As of version 10.10 Yosemite, Mac OS X offers the user the option to use a dark version of the dock and menu bar. The systray icon was black even on the dark menu bar
, thus rendering it nearly impossible to spot.
This patch checks the NSUserDefaults to check whether the user has chosen the black dock and if so, will use the white monochrome versions for the systray icons.
White icon on dark menu bar:
Right now, the systray icon will not change "live", that is it will stay in the old color when the user changes the dock/menu bar brightness during execution of the app until either the icon image changes (because of state change) or the app is restarted.
The patch needs to be tested on Unix and Windows systems, unfortunately I don't have a development machine setup for those operating systems at the moment. The systray icon behaviour should be unchanged for those operating systems and for earlier versions of OS X.