When the app chooser dialog is shown by a non-sandboxed app via plasma-integration (see https://invent.kde.org/plasma/plasma-integration/-/merge_requests/47), it shows all apps in a flat ungrouped grid view, which makes it very difficult to find anything by browsing. This is a worse UX than what happens when it's opened from a sandboxed app: it shows only the default app for that mimetype as well as other apps that can open it, with a button to show all if you really want to see them.
Can you be more specific here? Which non-sandboxed app? how is it calling XDP?
> Which non-sandboxed app? Plasma > how is it calling XDP? With https://invent.kde.org/plasma/plasma-integration/-/merge_requests/47 merged for Plasma 5.27, all non-sandboxed apps that ask for the app chooser now get the XDP version, not the one in KIO.
For testing, do you have any example of a sandboxed app which calls this dialog?
I'm testing using `xdg-portal-test-kde`, which lives at https://invent.kde.org/libraries/xdg-portal-test-kde.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/137
Git commit 451e6061d58f86e267194d9f398c588646f4f94e by Bharadwaj Raju. Committed on 24/11/2022 at 13:52. Pushed by bharadwaj-raju into branch 'master'. AppChooserDialog: Try to find preferred apps if the caller doesn't do it for us FIXED-IN: 5.27 M +94 -11 src/appchooserdialog.cpp M +11 -1 src/appchooserdialog.h https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/451e6061d58f86e267194d9f398c588646f4f94e