D22482: WIP: Show file dialog in directory mode when only directory is requested

2019-07-17 Thread Jan Grulich
jgrulich added a comment. What would be the usecase here? I can think of Firefox only, but as I mentioned, it won't work with Firefox, because it behaves exactly the same way as Qt, which means a dialog inside sandbox is opened when requesting to open a folder. REPOSITORY R838 Flatpak Sup

D22482: WIP: Show file dialog in directory mode when only directory is requested

2019-07-16 Thread Jan Grulich
jgrulich added a comment. If this is meant to be used by Firefox, then it won't work either, even when you use GTK_USE_PORTAL=1. REPOSITORY R838 Flatpak Support: KDE Portal for XDG Desktop REVISION DETAIL https://phabricator.kde.org/D22482 To: volkov, apol, jgrulich Cc: plasma-devel, Le

D22482: WIP: Show file dialog in directory mode when only directory is requested

2019-07-16 Thread Alexander Volkov
volkov added a comment. This is for non-sandboxed applications that want to use KDE file dialog. REPOSITORY R838 Flatpak Support: KDE Portal for XDG Desktop REVISION DETAIL https://phabricator.kde.org/D22482 To: volkov, apol, jgrulich Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas,

D22482: WIP: Show file dialog in directory mode when only directory is requested

2019-07-15 Thread Jan Grulich
jgrulich added a comment. The FileChooser portal will never ask for directories, it's currently not possible to expose a directory to the sandbox environment. If you look at [1], you can see it always uses native file dialog in case of directories, which means native file dialog will be open

D22482: WIP: Show file dialog in directory mode when only directory is requested

2019-07-15 Thread Alexander Volkov
volkov created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. volkov requested review of this revision. REPOSITORY R838 Flatpak Support: KDE Portal for XDG Desktop BRANCH Plasma/5.15 REVISION DETAIL https://phabricator.kde.org/D22482 AFFECTED FILES