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

            Bug ID: 525742
           Summary: Day-Night Cycle detects location correctly initially,
                    but does not set location correctly
    Classification: Applications
           Product: systemsettings
      Version First 6.6.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_nighttime
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 196154
  --> https://bugs.kde.org/attachment.cgi?id=196154&action=edit
The Day-Night settings. My location is shown as northern Spain.

***
If you're not sure this is actually a bug or valid feature request, instead
post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Do not paste LLM output.

Please remove this comment after reading and before submitting - thanks!
***

DESCRIPTION
I have the Day-Night cycle set to my location. This produces the wrong settings
for Night Light: it sets sunset to ~11:23AM-11:52AM and sunrise to
~10:21PM-10:50PM. This is off by ~15 hours, so I'm not quite sure what is going
wrong. It does seem to be setting the Night Light for about the right /amount/
of time (we have ~11 hours of darkness right now), but I can't tell what
particular amount it is off by.

After some poking around the settings, I think I may have a culprit. In System
Settings > Day-Night Cycle, when I select "Determine sunrise and sunset times
based on the device's location", the little geolocation marker is placed
correctly atop Vancouver, BC. When I go to another tab (i.e. Night Light) and
back, this has put me somewhere else, about atop the north coast of Spain. I
actually see the location marker /change/ from Vancouver to Spain when I click
back, for half a second.

If I set my location manually, Night Light hours appear to work fine, so this
seems like a bug in the Day-Night cycle settings specifically. I've attached an
image showing this location. I don't know why this location is being detected.
My public IP is recognizable as being in Vancouver, BC.

STEPS TO REPRODUCE
1. Exist somewhere other than northern Spain.
2. Set the Day-Night cycle to be based on the device's location.
3. Click away to a different tab, and come back to the Day-Night cycle tab.

OBSERVED RESULT
see above

EXPECTED RESULT
see above

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux Asahi Remix 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION

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

Reply via email to