Night mode does not properly exit when set to automatically do so on sunrise
Affected version
Fedora 34 Workstation Wayland GNOME Shell 40.0-6.fc34
Description of problem: When the sun rises, the night mode is not disabled, even though it is set to do this.
How reproducible: Always (tried two times).
Steps to Reproduce
- Enable the night mode in the GNOME Control Center (Settings).
- Enable it to automatically be controlled by sunrise/sunset.
- At the evening, the night mode gets enabled as expected.
- Now at some point of time you go to bed or so.
- Leave the device on. Disable the option to get into standby automatically in GNOME Control Center -> Energy. (The option to power off the screen here and in privacy -> screen lock is enabled and it's just the default)
- Just lock your screen.
- Now let it "sit there" until the next morning.
Actual results
At afternoon, you'll get back and see it's still yellow.
Expected results
Since the morning that should be automatically be disabled.
First try to fix: Toggle the switch to enable night mode in the settings (and re-enable it.) What happens: Your screen stays yellow, even if you've disabled the feature completely.
Second try to fix: Choose "custom time window" and what happens is:
- the time entered suddenly gets a completely different (14:00 to 06:00 in 24h/d format, i.e. 2pm to 6am – which is BTW a crazy time for that feature in my time zone here, i.e. does not make sense) the time before was 20:52 - 05:21 (24h/d) which makes sense, as yu can see in the screenshot.
- Due to the time that is now given in the options, it is of course (correctly) yellow still as night mode is enabled.
- Now switch to the "sunrise/sunset" option again. Now the yellow fades away and it's correctly "white" again.
- After that, everything works again (you can change/switch options) – until the next night.
Location services are enabled in the GNOME Settings and AFAIK it worked fine in Fedora 33. Also Two monitors connected.
Additional info
Fedora 34 Workstation, desktop device
Name : gnome-shell
Version : 40.0
Release : 6.fc34
Architecture : x86_64
Size : 9.2 M
Quelle : gnome-shell-40.0-6.fc34.src.rpm
Repository : @System
Aus Paketque : updates
Summary : Window management and application launching for GNOME
URL : https://wiki.gnome.org/Projects/GnomeShell
Lizenz : GPLv2+
Description : GNOME Shell provides core user interface functions for the GNOME 3 desktop,
: like switching to windows and launching applications. GNOME Shell takes
: advantage of the capabilities of modern graphics hardware and introduces
: innovative user interface concepts to provide a visually attractive and
: easy to use experience.
Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1960684