Bug 400817 - Weather widget fails to connect on boot/login
Summary: Weather widget fails to connect on boot/login
Status: CONFIRMED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Weather (show other bugs)
Version: 5.14.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-07 21:36 UTC by Michael D
Modified: 2019-11-28 13:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael D 2018-11-07 21:36:05 UTC
Probably the weather widget is loading and attempting to connect before the network has even connected, and then does not try again after some set interval after failing. The widget icon is then a question mark (in a purple circle, default breeze theme) and invoking the widget only shows the "Configure" button. I suppose it tries to connect after the set "update every" interval, but I've no idea, and that interval is typically too long anyway to get the widget to connect soon after booting/logging in.
Comment 1 Friedrich W. H. Kossebau 2018-11-07 21:50:00 UTC
Thanks for filing the issue. Can you describe exactly what steps you do during boot & login until you are in a Plasma Workspace with internet connection being established and what you can observe with the weather widget?

The weather dataengine which in the background feeds the weather widget should react to network connection being established and then trigger an update (with 1 sec delay). Which "works for me", but obviously not at your place, thus the need for detailed description of the timeline of yours.

Cmp. WeatherEngine::onOnlineStateChanged(bool) at https://cgit.kde.org/plasma-workspace.git/tree/dataengines/weather/weatherengine.cpp

The state you describe is only reached for me if the actual weather data service could not be reached during network connection being on, for whateever reason. And here the weather widget surely sucks to properly reflect the state by just saying "Configure me". But let's first find what really happens for you.
Comment 2 Michael D 2018-11-08 12:48:30 UTC
I don't do anything special when I boot up, and the only process that autostarts is dropbox.

If I click on the widget and select "Configure" and then adjust the update interval and apply, it connects to the internet. I usually have it set to either 30 or 31 minutes because of this, moving it up or down each login to get it to connect.

I wish I could be of more help. If there are relevant logs I could attach, let me know.
Comment 3 Christoph Feck 2018-11-21 21:20:24 UTC
Thanks for the update; changing status.
Comment 4 Nate Graham 2019-11-24 16:07:44 UTC
I can reproduce this on openSUSE Tumbleweed. Possible a similar issue to https://bugzilla.opensuse.org/show_bug.cgi?id=1108163.
Comment 5 Patrick Silva 2019-11-28 13:11:18 UTC
This problem have just happened on my system. I'm using the wetter provider.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2