[Feature] Add conflict warning if PowerToys Light Switch is turned on
Heads up, folks! Microsoft has released PowerToys 0.95.0, which features automatic light-and-dark mode switching (a.k.a. Light Switch). (See https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/discussions/1113)
I'm not sure this PowerToys feature would conflict with ADM, but I bet adding a warning that allows everyone to turn off PowerToys Light Switch might probably solve a problem.
I also encountered the same issue and spent a lot of time looking for a solution. Thank you for your reply, it was very helpful to me!
Great idea - this could save users from running into issues like this one: https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/issues/1116
Yes, the Powertoys light switch feature (which is enabled by default and confuses many users) does conflict with ADM, because they both are attempting to modify the theme state.
We have to investigate how to properly detect if the PowerToys setting is enabled. I don't know a lot about PowerToys and how it stores the app settings.
Yes, the Powertoys light switch feature (which is enabled by default and confuses many users) does conflict with ADM, because they both are attempting to modify the theme state.
We have to investigate how to properly detect if the PowerToys setting is enabled. I don't know a lot about PowerToys and how it stores the app settings.
Every PowerToy has a dedicated process that's handling the module. So if you enable LightSwitch, the process PowerToys.LightSwitchService.exe is running. You just need to check for that process running.
Yes, the Powertoys light switch feature (which is enabled by default and confuses many users) does conflict with ADM, because they both are attempting to modify the theme state. We have to investigate how to properly detect if the PowerToys setting is enabled. I don't know a lot about PowerToys and how it stores the app settings.
Every PowerToy has a dedicated process that's handling the module. So if you enable LightSwitch, the process PowerToys.LightSwitchService.exe is running. You just need to check for that process running.
very nice! We can do this check at startup
I updated PowerToys a few hours ago and was wondering why my system kept randomly switching between light and dark modes. I came here to see if there were any related issues, and sure enough, found the solution, LOL~
