Bug 436139 - Unnecessary network error when searching for Plasma themes
Summary: Unnecessary network error when searching for Plasma themes
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.80.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-04-24 19:04 UTC by Lua
Modified: 2023-11-01 18:02 UTC (History)
3 users (show)

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


Attachments
error (256.07 KB, image/png)
2021-04-24 19:04 UTC, Lua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lua 2021-04-24 19:04:35 UTC
Created attachment 137879 [details]
error

SUMMARY


STEPS TO REPRODUCE
1. Search for a color scheme/icon/Plasma theme etc.
2. Before the search finishes, search for another thing

OBSERVED RESULT
The error will popup and won't go away. This can be confusing to inexperienced users.
 
EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-16-generic

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-04-27 17:33:16 UTC
JFYI You can click on the close button in the top-right corner to make it go away.
Comment 2 Lua 2021-04-28 04:55:46 UTC
Yes, but I think it can confuse inexperienced users
Comment 3 Lua 2021-04-28 04:58:12 UTC
Well, maybe. The dialog could text could be change to something more clearer, indicating that is not actually an error
Comment 4 Lua 2021-05-21 08:55:47 UTC
For example, when I open the add-on installer window and start to search and press enter rapidly (sometimes the content loads slowly), this errors appears. It looks weird.
Comment 5 Dan Leinir Turthra Jensen 2021-05-21 09:00:30 UTC
The problem we've got here is that it is not entirely obvious whether something was in fact cancelled for some sensible reason (such as aborting an ongoing search to replace it with another), or whether it was cancelled somewhere in the stack by something the user did not ask for. However, specifically this one, it ought to be something we can deal with. And yeah, this obviously just looks weird.
Comment 6 Gert Oja 2023-10-27 16:42:15 UTC
This happens to me on Frameworks 5.111.0 on Arch Linux when searching for both widgets and wallpapers.

I type "notes", backspace, put the s back, it pops up "Unknown Open Collaboration Service API error. (0)". Obviously that's a bug. It is a little odd that it doesn't do the same with "note", but only "notes", but it also happens with other (shorter and longer) search terms. Related to cached results maybe?
Comment 7 Gert Oja 2023-11-01 17:49:19 UTC
It seems this bug does not occur (for me) in knewstuff-dialog6 with Qt 6.6.0, KDE Frameworks 5.240.0.
Comment 8 Nate Graham 2023-11-01 18:02:25 UTC
Indeed, I haven't been able to reproduce it in Plasma 6 either. Let's call it fixed--probably by some of the knewstuff refactoring going into KF6. Awesome!