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
JFYI You can click on the close button in the top-right corner to make it go away.
Yes, but I think it can confuse inexperienced users
Well, maybe. The dialog could text could be change to something more clearer, indicating that is not actually an error
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.
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.
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?
It seems this bug does not occur (for me) in knewstuff-dialog6 with Qt 6.6.0, KDE Frameworks 5.240.0.
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!