QFileDialog calls portal when ShowDirsOnly is set but not available

Bug #1909033 reported by Thomas Schläppi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snappy
Invalid
Undecided
Unassigned

Bug Description

Posted before to snapcraft forum. Check for more information: https://forum.snapcraft.io/t/qt-file-dialog-open-folder-and-kde-neon-extension/20876
-------------------------------

A snapped application that uses the kde-neon extension and the class QFileDialog for opening / selecting a folder, the xdg-desktop-portal is called.

According to https://snapcraft.io/docs/xdg-desktop-portals "Support for selecting folders instead of files has recently been merged and is not released yet. This will only work on distributions using xdg-desktop-portal > 1.8.0".

Running the same application in a flatpak sandbox, the dialog works correctly (falls back to not using the portal and shows the dialog in the sandbox).

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

As discussed in the forum, the problems stem from using an older version of Qt. Updating to Qt 5.15 should fix the issue, but it's beyond the scope of this bug.

Changed in snappy:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.