Bug 458792

Summary: Attempts to update location before network is online, causing an error about unknown host
Product: [Applications] systemsettings Reporter: ceggy
Component: kcm_nighttimeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: bharadwaj.raju777, kwin-bugs-null, nate, vlad.zahorodnii
Priority: NOR    
Version First Reported In: 5.25.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Showing the error message, about unknown host

Description ceggy 2022-09-06 15:32:27 UTC
Created attachment 151866 [details]
Showing the error message, about unknown host

Using night color with activation time set at "Sunset to sunrise at current location" will cause it to update before we have any connection to the internet, causing it to error.

It should instead check for the internet connection to be active when using this option.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.97
Qt Version: 5.15.5
Comment 1 Bharadwaj Raju 2022-09-09 10:47:43 UTC
Does this cause a wrong/invalid location to be sent to Night Color?