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

FileDialog property files is never cleared

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
    • Environment:
      Linux KDE Plasma 5.16.4
    • Platform/s:
      Linux/X11

      Description

      I have a FileDialog with fileMode: Labs.FileDialog.OpenFiles. The onAccepted handler does basically console.log(files). When I open the dialog multiple times then both files and currentFiles not only contain the elements just selected, but also all elements selected in all previous runs.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes