After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788026 - If time is incorrect on login, and is corrected after, Night Light does not correct itself
If time is incorrect on login, and is corrected after, Night Light does not c...
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: color
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-21 20:59 UTC by yaomtc
Modified: 2018-06-05 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yaomtc 2017-09-21 20:59:48 UTC
Right now there's a bug on Solus that makes it so I have to manually connect to the Internet by clicking on Wired Connection ( https://dev.solus-project.com/T4108 ), and until I do so, my time is incorrect. This makes Night Light have an incorrect color temperature for the display, and it doesn't seem to ever correct itself. I can fix it by switching to manual, then back to "sunset to sunrise". If I use Redshift instead, it corrects itself fairly quickly. However, when it works, Night Light works better for me (Redshift sometimes flickers off momentarily on my computer) so I'd prefer to use it - but right now it's inconvenient.
Comment 1 yaomtc 2017-09-21 21:07:40 UTC
I can also just toggle Night Light off and back on again. That also causes a correction.
Comment 2 Benjamin Berg 2018-06-05 13:24:50 UTC
Hm, right. It seems that if your clock moves backwards, then we are not picking up on that and the re-check may not happen for a long time.

I am actually a bit confused by the code. It makes a point on waiting for a specific point in time, but also sets this point in time to 1 minute in the future. Seems a bit there was the idea to only wake up when the next change is required.

Anyway, I added a patch to fix this into
  https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/21

Closing is fixed already, assuming that the patch will be merged soon.