TheJoeFin / Caffeinated

☕️ Prevent your Windows PC from sleeping. Port of Caffeine for OS X. Upgraded with modern Windows 10 APIs.
MIT License
35 stars 4 forks source link

Black icon in Dark mode #19

Closed redblackbst closed 3 years ago

redblackbst commented 3 years ago

With the latest version (1.3.1.0 on Microsoft Store), the icon is black no matter what the taskbar theme mode is (Light or Dark). caffeinated-dark-taskbar

TheJoeFin commented 3 years ago

Please open Caffeinated settings then click OK. This should reset the icon and it should pick the correct theme.

r0gi commented 3 years ago

I also have this issue. There is no OK button in the settings but I think closing saves them.

Also, my icon always starts with the eye open even though I have the "Activate upon launch" unchecked in the settings, which makes the indicator icon reversed:

caffeinated sleep allowed caffeinated sleep not allowed
TheJoeFin commented 3 years ago

Does that happen for for every icon or just the default (eye & half eye) one?

redblackbst commented 3 years ago

Please open Caffeinated settings then click OK. This should reset the icon and it should pick the correct theme.

No, it does not. And this is the case with all three sets of icons.

TheJoeFin commented 3 years ago

Can you share what your color theme preferences are for Windows: image

redblackbst commented 3 years ago

color_theme_pref

r0gi commented 3 years ago

I have the same setup as redblackbst. I just noticed setting my 'default app mode' to dark gives the correct icon color (white). The solution is probably to check whatever maps to the "default windows mode" rather than "default app mode".

r0gi commented 3 years ago

I'm not well versed in windows app development or C#, but according to a quick google search you have to check the SystemUsesLightTheme key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize.

theme_registry

The taskbar is light when I set its value to 1.

h0ek commented 3 years ago

Same issue here :(

TheJoeFin commented 3 years ago

Version 1.3.2 submitted to Microsoft Store with this fixed.

r0gi commented 3 years ago

Looks good now. Thank you!