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

Jan Grulich noreply at phabricator.kde.org
Tue Jul 16 06:56:03 BST 2019


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 opened inside the sandbox, not through the portal.
  
  [1] - https://code.woboq.org/qt5/qtbase/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp.html#_ZN27QXdgDesktopPortalFileDialog4execEv

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, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190716/f4c8fb34/attachment-0001.html>


More information about the Plasma-devel mailing list