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

            Bug ID: 412211
           Summary: Night Color Always On using Auto or Location
           Product: kwin
           Version: 5.16.90
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: s.r...@outlook.com
  Target Milestone: ---

SUMMARY

When turning on the "Night Color" option under X11 or Wayland, if utilizing the
"Automatic" or "Location" modes, the shift happens immediately, no matter the
time of day. Even at 11am, Night Color will be enabled, despite that location
is being grabbed correctly, sunrise/sunset times are correct and it is not
currently dark outside.


STEPS TO REPRODUCE
1. Activate Night Color under the Night Color system settings dialog
2. Choose "Automatic" or "Location" from the operation mode
3. If using "Location" click "Get Location" and verify that the coordinates are
correct.
4. Click Apply

OBSERVED RESULT
Night color turns on immediately and the screen color shifts, even if it is not
currently night time.


EXPECTED RESULT
Night color only turns on during night.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.16.90
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION

- "Times" mode works correctly.

- Bug seems to be present for both Wayland and X11 sessions.

- I previously tested this on Debian Buster using 5.14.5 and experienced the
same bug (though under a Wayland session only).

- Font DPI scaling is being used

- Compositor is set to OpenGL 3.1 (2.0 doesn't seem to make a difference)

Output of: qdbus org.kde.KWin /ColorCorrect nightColorInfo

11:43AM -- Night color is currently on when it should not be. (Lat/Longs have
been rounded)

Active: true
ActiveEnabled: true
Available: true
CurrentColorTemperature: 4500
EveningBeginFixed: 18:00:04
LatitudeAuto: 0
LatitudeFixed: 49.0000
LocationEnabled: true
LongitudeAuto: 0
LongitudeFixed: -123.0000
Mode: 0
ModeEnabled: true
MorningBeginFixed: 06:00:04
NightTemperature: 4500
NightTemperatureEnabled: true
Running: true
TimingsEnabled: true
TransitionTime: 30

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

Reply via email to