https://bugs.kde.org/show_bug.cgi?id=469730

--- Comment #35 from kwi...@gmail.com ---
Thanks for that hint.  I think I nailed it down a bit while fooling around at
the DBus level.
All times are displayed correctly via qdbus with manual location and manual
time (night color kicking in currently around 16:48)...

...but having set automatic location, I get that strange 18:37 again:

$ qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect | awk
'/Time/ {print $1, strftime("%T", $2)}'
previousTransitionDateTime: 18:36:38
scheduledTransitionDateTime: 06:20:07

If I force automatic recalculation to my current location, things look great
$ qdbus org.kde.KWin /ColorCorrect nightColorAutoLocationUpdate 50 9
$ qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect | awk
'/Time/ {print $1, strftime("%T", $2)}'
previousTransitionDateTime: 16:48:07
scheduledTransitionDateTime: 06:38:28

My guess is that auto location coordinates are not handed over correctly to
sunset/sunrise calculation, so it falls back to lat 0, long 0
$ qdbus org.kde.KWin /ColorCorrect nightColorAutoLocationUpdate 0 0 
$ qdbus org.kde.KWin /ColorCorrect GetAll org.kde.kwin.ColorCorrect | awk
'/Time/ {print $1, strftime("%T", $2)}'
previousTransitionDateTime: 18:36:38
scheduledTransitionDateTime: 06:20:07

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to