Bug 485900 - "Night color" not applying day time temperature automatically
Summary: "Night color" not applying day time temperature automatically
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_nightcolor (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 14:12 UTC by Guilherme Salazar
Modified: 2025-08-31 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Salazar 2024-04-21 14:12:43 UTC
SUMMARY

Night colors does not revert back to day color settings.
It only does so if one opens the settings page and interacts with it - for example, by clicking the color temperature slider. It does not even need to be applied; once the preview ends, the correct color is applied.


STEPS TO REPRODUCE
1. Set color temperature and day/night times


OBSERVED RESULT

Day settings are not applied when day time starts

EXPECTED RESULT

Day time settings are applied automatically when day time starts

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux Asahi Remix 39
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.6.3-414.asahi.fc39.aarch64+16k (64-bit)
Graphics Platform: Wayland
Processors: 8 × Apple Firestorm (M1 Max), 2 × Apple Icestorm (M1 Max)
Memory: 30,8 GiB of RAM
Graphics Processor: Apple M1 Max
Product Name: Apple MacBook Pro (16-inch, M1 Max, 2021)
U-Boot Version: 2024.04

ADDITIONAL INFORMATION

I thought this was the same as https://bugs.kde.org/show_bug.cgi?id=461657; however, I verified the proposed fix _is_ in my current kwin version.

This also looks similar to https://bugs.kde.org/show_bug.cgi?id=413406, but in my case night colors are correctly applied.
Comment 1 Guilherme Salazar 2024-04-22 10:47:05 UTC
Just opened up my laptop for the day - before I fix the color temp, I ran the following command to get some more data:

```
$ qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect
available: true
currentTemperature: 6500
enabled: true
inhibited: false
mode: 2
previousTransitionDateTime: 1713776400
previousTransitionDuration: 1800000
running: true
scheduledTransitionDateTime: 1713819600
scheduledTransitionDuration: 1800000
targetTemperature: 6500
```

You can see it reports the correct temperature for the day time (6500), even though it's still in 2100 (which is my setting for night time).
Comment 2 Guilherme Salazar 2024-04-24 10:26:50 UTC
I believe this is only happening when I close the laptop's lid after night mode is on; then, when I open, it fails to set day temp. I will verify tonight.
Comment 3 Martin Seidel 2024-04-26 21:47:18 UTC
I also have this problem on Debian testing:

KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.6.15-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 27.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 4 Nate Graham 2025-08-01 22:35:37 UTC
This has been working for me for quite some time now. Is anyone still able to reproduce it in Plasma 6.4 or later?
Comment 5 Bug Janitor Service 2025-08-16 03:46:31 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-08-31 03:47:37 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.