Created attachment 107525 [details] Get Hot New Stuff dialog randomly sorted while 'most downloads' is selected Given that a user is opening the 'get hot new stuff' dialog When the user is activating option 'most downloads' Then the browse window is sorted based upon the actual amount of downloads for 'hot new stuff' And when multiple items have the same download count then these are sorted alphabetically
Can confirm, this is still an issue with both the QtQuick and QWidgets based dialog.
*** Bug 419485 has been marked as a duplicate of this bug. ***
KNewstuff uses the attica provider to get these entries and there an url is constructed which contains the sort order (example query for icons category): https://api.kde-look.org/ocs/v1/content/data?categories=132&distribution&license&search&sortmode=down&page=0&pagesize=20 And there we can see that the results from the API are not sorted. Also when looking at the KDE Store I noticed that there is no option to sort by downloads.
Looking at the spec https://www.freedesktop.org/wiki/Specifications/open-collaboration-services-1.7/ the API request looks IMO good (just search for sortmode on this page) And doing a manual sorting in the attica framework would be really hacky, maybe we should reach out to the people responsible for maintaining the API?
Hello, we have heard about the problems and we will try to fix them as soon as possible.
*** Bug 431648 has been marked as a duplicate of this bug. ***
*** Bug 435080 has been marked as a duplicate of this bug. ***
*** Bug 428341 has been marked as a duplicate of this bug. ***
*** Bug 443392 has been marked as a duplicate of this bug. ***
*** Bug 445823 has been marked as a duplicate of this bug. ***
*** Bug 447616 has been marked as a duplicate of this bug. ***
*** Bug 462987 has been marked as a duplicate of this bug. ***
@Alexander Schmidt Any update on this?
I hope what takes a long time will finally be good. I just worked on the API for another reason and tried to solve the problem described here at the same time. We have sorted by the downloads of the last 24h, but the total sum of downloads is shown in the list. This is of course confusing for the user and not helpful. We are now sorting by the total sum of downloads and I hope the result now matches what the user's expected.
Sounds good to me. Waiting to see it land to give final review. :-)
Cannot reproduce. Operating System: Arch Linux KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 Graphics Platform: Wayland
(In reply to Patrick Silva from comment #16) > Cannot reproduce. > > Operating System: Arch Linux > KDE Plasma Version: 5.27.4 > KDE Frameworks Version: 5.105.0 > Qt Version: 5.15.8 > Graphics Platform: Wayland Yes it is resolved. Thanks!