Summary: | Request - tree-style folder selector for portal apps (flatpaks, for example) | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bharadwaj.raju777, fabian, mte90net, nate, postix, rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/4b29ae78943b46ddfa3f3eca45c442f13c5a67e8 | Version Fixed In: | 5.24.0 |
Sentry Crash Report: |
Description
Patrick Silva
2021-05-22 14:25:12 UTC
The issue is that the tree-style folder selection is only implemented in the plasma platformtheme plugin (in plasma-integration), and only accessible through QFileDialog. QFileDialog does not provide some of the APIs necessary to implement e.g. option selection. To fix this, KDirSelectDialog (and its dependencies) would have to be extracted from plasma-integration into KIO. A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/62 Git commit 551c583bd883056d28895597ce8d4571cd6a6f81 by Fabian Vogt. Committed on 18/01/2022 at 20:02. Pushed by fvogt into branch 'master'. Use QFileDialog for selecting directories KFileWidget is not as good at selecting directories as KDirSelectDialog from plasma-integration. On top of that, directory selection appears to be entirely broken currently. Use KDirSelectDialog through QFileDialog if possible. M +32 -0 src/filechooser.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/551c583bd883056d28895597ce8d4571cd6a6f81 Git commit 4b29ae78943b46ddfa3f3eca45c442f13c5a67e8 by Fabian Vogt. Committed on 19/01/2022 at 09:37. Pushed by fvogt into branch 'Plasma/5.24'. Use QFileDialog for selecting directories KFileWidget is not as good at selecting directories as KDirSelectDialog from plasma-integration. On top of that, directory selection appears to be entirely broken currently. Use KDirSelectDialog through QFileDialog if possible. (cherry picked from commit 551c583bd883056d28895597ce8d4571cd6a6f81) M +32 -0 src/filechooser.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/4b29ae78943b46ddfa3f3eca45c442f13c5a67e8 *** Bug 449289 has been marked as a duplicate of this bug. *** |