Bug 403871 - PotD doesn't get updated updated if network is not ready at startup
Summary: PotD doesn't get updated updated if network is not ready at startup
Status: RESOLVED DUPLICATE of bug 457361
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Picture of the Day (show other bugs)
Version: 5.15.90
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Guo Yunhe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-02 19:02 UTC by Fabio Coatti
Modified: 2022-08-21 10:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Coatti 2019-02-02 19:02:11 UTC
SUMMARY
I'm using a desktop widget that needs network (comics strip downloader) and also I'm using a desktop background theme that downloads pics from internet (astronomy pic of the day). When network is ready at startup (i.e. wired connection) everything works as expected; however if the network is started later (say because wlan requires auth credentials) comics widget never gets updated and the spinner is shown forever, even if the network becomes available (not even cached images are shown). Also background is not updated. To update the widget it I have to run "kquitapp5 plasmashell ; kstart5 plasmashell" after network is available.


STEPS TO REPRODUCE
1. Start kde without network connection and comics strip widget on screen
2. Check that widget is not updated
3. restart plasmashell
4. check that widget is updated.
OBSERVED RESULT
Widget not updated

EXPECTED RESULT
widget updated once network is ready 

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: Linux 4.20.6 
(available in About System)
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
The issue is not limited to last (5.14.90) plasmashell but happens since several versions.
Comment 1 Friedrich W. H. Kossebau 2019-02-08 19:35:33 UTC
I can confirm some similar behaviour with the Plasma weather data engines, where somehow the QNetworkConfigurationManager::onlineStateChanged handling in the data engine on startup does not reault in the expected behaviour in some cases. As result the weather widgets do not show data, only once the normal update mechanism (each 39 mins or whatvever configured) kicks in later.

I can confirm the felt observation that this seems to happen if one does not instantly enter the wifi credentials during startup. No idea yet how these things relate.
Comment 2 Nate Graham 2022-01-20 23:04:32 UTC
Let's use this just for PotD since Comics has its own bug report: Bug 448823
Comment 3 Fushan Wen 2022-08-21 10:25:41 UTC
*** This bug has been marked as a duplicate of bug 457361 ***