SUMMARY If I click on an installed and reviewed application *before* the ‘Fetching Updates...’ process is finished (which can easily take a minute or so), I get the (translated version) of: Install this app and be the first to write a review! This information is incorrect and confusing. The application *is* both installed and have user reviews. STEPS TO REPRODUCE 1. Open Discover. 2. Click on an installed application before the ‘Fetching Updates...’ process is finished. 3. Look at the reviews section. OBSERVED RESULT The review section shows: Install this app and be the first to write a review! And the log on the console says: org.kde.plasma.libdiscover: error fetching reviews: "Error transferring https://odrs.gnome.org/1.0/reviews/api/fetch - server replied: BAD REQUEST" "{\n \"msg\": \"missing data, expected version\",\n \"success\": false\n}" EXPECTED RESULT The reviews section should either show the available reviews, be hidden (if it’s not possible or fetch reviews before ‘Fetching Updates’ is finished) or show a message that the reviews will be shown when ‘Fetching Updates’ is finished. And when ‘Fetching Updates’ is finished, the reviews should automatically be shown. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20190824 KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.0 Kernel Version: 5.2.9-1-default OS Type: 64-bit Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz Memory: 15,6 GiB
*** This bug has been marked as a duplicate of bug 411034 ***
Reopening, as per comments in #411034. I observe this bug on the latest git master version of Discover.
Karl can you please confirm if this is still an issue? I've tried to replicate it on Discover from git master but I can't.
(In reply to Justin Zobel from comment #3) > Karl can you please confirm if this is still an issue? I've tried to > replicate it on Discover from git master but I can't. I can still confirm this with Discover 5.20.2. There are, however, some changes. The button is now *disabled* when fetching update. For an installed application, it now just says: Install to Write a Review When the ‘Fetching Updates’ process has finished, the button text is changed to Write a Review and the button is no longer disabled.
Definitely still an issue. It's quite noticeable with openSUSE distros which take forever and a half to refresh the metadata on launch.
I see OP also is using SUSE. I'm not entirely sure what should happen there (besides someone sitting down and seeing if there's an actual reason why zypper should be unbearably slow). Are you suggesting that we treat applications where we don't know their state as installed there?
We could display a spinner instead of any text at all, while the data that the text depends on hasn't been loaded yet.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/110
Git commit 676f354e013d61f3484b35ccfced5c01032457bf by Aleix Pol. Committed on 13/04/2021 at 16:19. Pushed by ngraham into branch 'master'. Show a less encouraging title on our UI when app state is being fetched So far we were displaying them as disabled but uninstalled. This is somewhat confusing in some cases, especially for openSUSE users where this process takes a while. M +1 -1 discover/qml/ApplicationPage.qml M +5 -1 discover/qml/InstallApplicationButton.qml https://invent.kde.org/plasma/discover/commit/676f354e013d61f3484b35ccfced5c01032457bf
Created attachment 156758 [details] incorrect version file incorrect version file
Installed advanced radio player when updating, a version that does not correspond to the latest one and got this file SRsEwr-org.kde.plasma.advancedradio.tar.gz , latest version 2.3 , this file 2.2.1 although when updating it writes that the update is from version 2.2.1 to 2.3
source repository https://store.kde.org/p/1313987
Please submit a new bug report as your issue is something different. Thanks!