Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72755

Qt shouldn't be using the portal to open folders

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P4: Low
    • None
    • 5.11
    • QPA: X11/XCB
    • None
    • Linux/X11

    Description

      Hi, sorry I'm a total noob and may have tagged this wrong. Basically, I have a Qt program that launches a File Chooser dialog. The user must be able to choose a folder. Not a file.

      This works when I compile the program normally. But when I compile a Flatpak or Snap, I cannot choose a folder, only a file. I opened an issue against Flatpak and they said this is a Qt bug. Qt is trying to open a xdg-desktop-portal even though the spec doesn't seem to support folder choosers, only file choosers.

      Please see the Flatpak issue (linked above) for further details. Thank you!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            alexgleason Alex Gleason
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes