SUMMARY *** When I set 'switching times' to 'sunset and sunrise at current location' the transition to night colors starts well before the starting time mentioned on the night color settings page. It does seem to work as expected with the option 'sunrise and sunset at manual location'. *** STEPS TO REPRODUCE 1. Location: latitude 51.81 longitude 5.83 2. To have Windows keep showing the correct time I did this: timedatectl set-local-rtc 1 --adjust-system-clock 3. Output of timedatctl: Local time: Th 2023-06-29 19:50:42 CEST Universal time: Th 2023-06-29 17:50:42 UTC RTC time: Th 2023-06-29 19:50:45 Time zone: Europe/Amsterdam (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: yes 5. In night color settings, set ' switching times' to 'sunset and sunrise at current location' and location as mentioned above. OBSERVED RESULT Transition to night color starts 1.5-2 hours early. Setting location to manual, the transition starts at about the right time. EXPECTED RESULT Setting ' switching times' to either 'sunrise and sunset at current location' and 'sunrise and sunset at manual location' both result in the transition to night color starting at the right time. SOFTWARE/OS VERSIONS Windows: 10 Home Edition DE Plasma: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION N/A
I also experience this weird behaviour with the "sunset and sunrise at current location" setting on EndeavourOS (Plasma 5.27.6) and Debian Bookworm (Plasma 5.27.5) as well. It starts about 2 hours before and stops about 2 hours later. If I choose "sunrise and sunset at manual location" with my location coordinates , it starts and stops in the right time. I doublechecked my locale and timezone settings, it's correct. In Plasma 5.24.7 LTS Night Color works well.
Seems like maybe the geolocation service has gotten your location wrong. Are you by any chance using a VPN or anything else that could cause your IP address to get geolocated to somewhere you're not?
No, I'm not using anything like that. Strange is that it DOES work when I set my location manually.
The geolocator should print the location it calculated. Can you verify that it's correct?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
(In reply to Nate Graham from comment #4) > The geolocator should print the location it calculated. Can you verify that > it's correct? It calculates the location correctly. It also shows the times where it is going to change color accurately as well. The issue is that it does not honor the settings. As everyone stated here, if you set it to "manual" night light works as expected.
Created attachment 162387 [details] night light
(In reply to Ivan Garcia from comment #6) > (In reply to Nate Graham from comment #4) > > The geolocator should print the location it calculated. Can you verify that > > it's correct? > > It calculates the location correctly. It also shows the times where it is > going to change color accurately as well. The issue is that it does not > honor the settings. As everyone stated here, if you set it to "manual" night > light works as expected. It does not show on the screenshot but night color is active (4500k) even though it was only 5:01PMEST
(In reply to Ivan Garcia from comment #8) > (In reply to Ivan Garcia from comment #6) > > (In reply to Nate Graham from comment #4) > > > The geolocator should print the location it calculated. Can you verify that > > > it's correct? > > > > It calculates the location correctly. It also shows the times where it is > > going to change color accurately as well. The issue is that it does not > > honor the settings. As everyone stated here, if you set it to "manual" night > > light works as expected. > > It does not show on the screenshot but night color is active (4500k) even > though it was only 5:01PMEST Is it still a issue? And if it is please can you send the output of following commands: > qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect and > qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect | awk '/Time/ {print $1, strftime("%T", $2)
Also probably a duplicate of https://bugs.kde.org/show_bug.cgi?id=469730
*** This bug has been marked as a duplicate of bug 469730 ***