Bug 475161

Summary: The night color at current location doesn't work properly as manual location
Product: [Applications] systemsettings Reporter: Sigmund <qwe2968>
Component: kcm_nightcolorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: firlaevhans.fiete, ilanco, isma.af, kwin-bugs-null, nate
Priority: NOR Keywords: regression
Version: 5.27.8   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sigmund 2023-10-03 04:46:12 UTC
SUMMARY

For example, I'm at 12AM and normally night color is not active. If I use the current location setting, night color is activated and my screen is in night mode. When I use the location data given by current location and switch to manual mode,  my screen is in day mode.

 I also check the ~/.config/kwinrc, if I use manual mode, the data is shown as below.
[NightColor]
Active=true
LatitudeFixed=39.91
LongitudeFixed=116.4
Mode=Location

if I use current location mode, the data is shown as below.
[NightColor]
Active=true
LatitudeFixed=39.91
LongitudeFixed=116.4

EXPECTED RESULT
Night color can set correct screen mode in current location mode.

SOFTWARE/OS VERSIONS
Linux: Archlinux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Comment 1 Firlaev-Hans 2023-10-10 17:25:48 UTC
Interestingly it's the exact opposite for me.
Current location, which worked previously (before Frameworks 5.100), now keeps my screen in day mode.
Manual location with the same coordinates works just fine.
Comment 2 Sigmund 2023-10-11 00:37:21 UTC
(In reply to Sigmund from comment #0)
> SUMMARY
> 
> For example, I'm at 12AM and normally night color is not active. If I use
> the current location setting, night color is activated and my screen is in
> night mode. When I use the location data given by current location and
> switch to manual mode,  my screen is in day mode.

Made a small mistake, it should have been 12:00, not 12AM.
Comment 3 Ilan 2023-10-23 16:21:00 UTC
Experiencing the same as Firlaev-Hans: 
current location, keeps my screen in day mode.
manual location with the same coordinates works.
Comment 4 Ismael Asensio 2023-11-05 19:32:18 UTC

*** This bug has been marked as a duplicate of bug 469730 ***