Bug 363292

Summary: Comic plasmoid refreshing eating up CPU
Product: [Unmaintained] kdeplasma-addons Reporter: flyos
Component: ComicAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, bogdan.mihaila, bshah, bugs, bugzilla, claudius+kde, flyos, gab, idleshand, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.7.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot taken during the bug

Description flyos 2016-05-19 19:53:21 UTC
At seemingly random times, the Comics plasmoid tries to refresh the comics and get caught in some kind of loop (blue loading "wheel" never stops, see screenshot) causing plasmashell and X11 eating up much of the CPU.

Reproducible: Always

Steps to Reproduce:
1. Add Comics plasmoid to plasmashell and a few comics (I have "Calvin and Hobbes", "PhD comics" and "XKCD", maybe "Calvin and Hobbes" is trigging the bug)
2. Wait for the plasmoid to try to refresh the comics
3. Comics plasmoid is endlessly loading and plasmashell starts using a lot of CPU

Actual Results:  
Plasmashell is using a lot of CPU.

Expected Results:  
Comics refreshing should stop and CPU usage should be very limited.
Comment 1 flyos 2016-05-19 19:54:06 UTC
Created attachment 99083 [details]
Screenshot taken during the bug
Comment 2 flyos 2016-07-15 09:23:46 UTC
Update the version to 5.7.1 : no change in behaviour.
Comment 3 flyos 2016-08-29 07:12:40 UTC
Possible duplicate of: https://bugs.kde.org/show_bug.cgi?id=356479
Comment 4 Luca Weiss 2017-02-04 00:01:22 UTC
Not fixed in 5.9.0.
Comment 5 flyos 2017-02-04 10:33:47 UTC
Yes, I can confirm (openSUSE Tumbleweed, Plasma 5.9, KF 5.30). So not a duplicate from the solved bug above.
Comment 6 flyos 2017-06-27 23:06:11 UTC
Seems to be fixed with Plasma 5.10 and Qt 5.9. Lucas Weiss, can you confirm?
Comment 7 Luca Weiss 2017-06-29 12:52:00 UTC
I added the applet back on my desktop and will report in a few days if I have noticed anything.
Comment 8 Bogdan Mihaila 2017-07-03 23:16:50 UTC
Hi

Can confirm that it is not fixed. Plasma 5.10.2 and Qt 5.9 on KDE Neon packages.

It is difficult to reproduce though as it happens at unforseen time intervals, from half an hour to several hours. But when it happens it stays there for any period of time. One has to change the Comic tab to stop it or restart plasma.
I can provide an strace/ltrace or other means of debug info next time it happens if that helps.
Comment 9 idleshand 2018-08-13 21:48:11 UTC
I'm not sure whether or not this will actually help anyone but I am having the exact same issue as described in the original report in that a presumably stuck refresh of comics causes high cpu usage by plasmashell. 

I have one new note to make thanks to the fact I am usually offline. The problem will only occur when there is an internet connection. I am always connected to a lan without any dns and the problem does not arise until I connect to web via second network.

OS archlinux, kernel 4.17.12-arch1-1-ARCH

Software Versions:
Plasma 5.13.4
Frameworks 5.48.0
Qt 5.11.1
Comment 10 Christoph Feck 2018-09-13 17:04:05 UTC
*** Bug 398092 has been marked as a duplicate of this bug. ***
Comment 11 flyos 2022-10-17 07:30:17 UTC
Looking at old bug reports: this is now fixed. Closing.