SUMMARY in ExportMenu::getKServiceItems() we get services unsorted STEPS TO REPRODUCE 1. query KMimeTypeTrader 2. iterate over services 3. addAction(action); OBSERVED RESULT sometimes it's Gwenview + Gimp + Chromium + KolourPaint + qutebrowser sometimes it's Gwenview + qutebrowser + Chromium + Gimp + KolourPaint EXPECTED RESULT from A to Z: Chromium + Gimp + Gwenview + KolourPaint + qutebrowser SOFTWARE/OS VERSIONS KDE Plasma Version: 5.18.4.1 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION * std::tolower(service->name()) before sorting? * for (auto service : sorted(services)) ?
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/120
They're actually sorted according to user preferences for the mimetype of the image file. If you have a PNG and you compare the app list in Spectacle to the app list for images/png in System Settings -> Applications -> File Associations, they're exactly the same.
Yeah, I agree that this should be declared intentional and the MR closed.