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

Only a single file dialog on android supported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.14.1
    • Extras: Android
    • None
    • Android
    • 6839d297b3964047a207375a4955f6cedcb1c959

    Description

      If there are multiple file dialogs in an application, only the first opened one returns a result. Opening another one and selecting a file causes the first one to emit a new url.

      I believe this is due to the use of registerActivityResultListener without calling unregisterActivityResultListener in the result slot.

      Minimal reproducer using the QML FileDialog attached.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            vogtinator Fabian Vogt
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes