adrianmteo / Luna

Automatic dark mode for Windows 10
MIT License
279 stars 12 forks source link

No consideration for start-up changes #11

Closed matsuda0707 closed 4 years ago

matsuda0707 commented 4 years ago

This Luna does can not change Dark/Light when PC start up after the setting time! For example, I set 7:00 AM for Light and 7:00 PM for Dark,. But if I power up PC (powered of fin Dark or Light mode) after 7:00 AM or 7:00 PM, it does not change themes. You must consider to active Luna at startup and set themes based on schedule!

adrianmteo commented 4 years ago

@matsuda0707 The theme does change when the PC is first start-up or woke from sleep. I've setup the tasks in such a way that they will run as soon as possible after the scheduled time is missed (you can also check in Task Scheduler if this is active on your end). You need to wait a couple of minutes after start-up or wake from sleep for Windows to decide to run the tasks.

Annotation 2020-03-08 113957

matsuda0707 commented 4 years ago

This problem still remains in the latest 1.14 version. I set 6:00 oclock for light mode, but it does not reflect (remains dark mode) when the PC was powered at 9:00 oclock.

adrianmteo commented 4 years ago

@matsuda0707 I did some research and I can run the program when the computer starts to instantly switch to the time specific theme. But there are some problems here:

Theme switching is working (with a delay after starting the PC). Reopening this for further investigation and possible enhancement.

matsuda0707 commented 4 years ago

This problem still remains in 1.1.5.0!

adrianmteo commented 4 years ago

This should be resolved in this commit as the app now adds a logon task and executes the theme changer immediately after you login to Windows.