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

Wrong selected file in XDG portals save diaiog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.3, 6.5.0, 6.6.1
    • Quick: Dialogs
    • None
    • Linux/Wayland

    Description

      I experienced a bug when running my program in the flatpak environment. Before I open a save dialog from QtQuick.Dialogs, I initialize the file name by setting the selectedFile property. But when I open the dialog a second time with a different value for selectedFile, it still shows the file of the first time as the selected file.

      This only happens in the flatpak environment, the same program works fine when QtQuick.Dialogs uses a native file dialog, so I assume that there is a bug in Qt's xdgdesktopportal plugin.

      Attachments

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

        Activity

          People

            hurlevent Oliver Eftevaag
            enz Markus Enzenberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes