albertosottile / darkdetect

Detect OS Dark Mode from Python
Other
171 stars 18 forks source link

False positive #35

Open Faetu opened 1 year ago

Faetu commented 1 year ago

Hi,

I get a false positive on my macOS.

image

As you see, the theme turn to light (auto), but the script still tell me, that it should be dark. To clarify, I get 'dark' even when I directly run defaults read -g AppleInterfaceStyle.

This only happens, when the theme changes while the system is locked.

best regards

albertosottile commented 1 year ago

Thanks for reporting this.

To clarify, I get 'dark' even when I directly run defaults read -g AppleInterfaceStyle.

If that is the case, then the issue is in the OS itself and there is not much we can do about it. I would rather file a radar directly on Apple's tracker: https://bugreport.apple.com.