Bug 453792 - Widget downloader becomes unusable after a connection error
Summary: Widget downloader becomes unusable after a connection error
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.93.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-14 16:51 UTC by Lastique
Modified: 2022-05-17 14:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.94


Attachments
Connection error. (62.34 KB, image/png)
2022-05-14 16:51 UTC, Lastique
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2022-05-14 16:51:03 UTC
Created attachment 148831 [details]
Connection error.

SUMMARY

If an error occurs while getting the list of widgets available for download, the widget downloader becomes unusable. The downloader window is empty, there is no way to refresh it to make another attempt to load the list of widgets. Even closing and re-opening the downloader window doesn't help - the downloader stays empty and doesn't perform another attempt to download the list of widgets. The only workaround I found is to kill and restart plasmashell.

STEPS TO REPRODUCE

1. Right-click on desktop and select Add Widgets.
2. Click Get New Widgets.
3. Make sure a connection error happens while accessing KDE store. In my case I had genuine connectivity issues. It may reproduce if network connection is down.

OBSERVED RESULT

An error is displayed. The error window is not rendered according to the system theme (see the screenshot, the "close window" button is rendered black). If I close the error window, the downloader window remains empty.

EXPECTED RESULT

1. The error window should be rendered properly.
2. There should be a button to refresh the list of widgets. Pressing it should retry connecting to the store.
3. Closing and re-opening the downloader window should re-download the list of widgets.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-30-lowlatency (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4700HQ CPU @ 2.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Comment 1 Nate Graham 2022-05-16 16:51:23 UTC
Closing and re-opening it will work as of Frameworks 5.94.
Comment 2 Lastique 2022-05-16 16:55:53 UTC
(In reply to Nate Graham from comment #1)
> Closing and re-opening it will work as of Frameworks 5.94.

Please add a button to reload to refresh/reload the list.

Also, the rendering issue is not addressed.
Comment 3 Nate Graham 2022-05-16 19:21:14 UTC
> Please add a button to reload to refresh/reload the list.
One issue per bugzilla ticket please. Can you file a new ticket to request this?

> Also, the rendering issue is not addressed.
One issue per bugzilla ticket please. Can you file a new ticket to report this?

Thanks!