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

Android native QFileDialog::exec() always returns "Rejected" state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.13.0
    • Fix Version/s: 5.14.2
    • Labels:
      None
    • Environment:
      Host:Debian Linux Buster x64
      Target:XPERIA XZ Premium (Android9.0)
    • Platform/s:
      Android
    • Commits:
      a84c895b17089c36f950ae565fd5f6b98bcc7a14 (qt/qtbase/5.14)

      Description

      Android native QFileDialog::exec() always returns "Rejected" state and do not obtain selected file names.

      Attached project reproduces the issue.

      If you push the button and FileDialog opens.

      Choose any file on filesyttem and see result status and selected file name in debug output.

      If you set QFileDialog::DontUseNativeDialog option, it works as expected.

       

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                assam Assam Boudjelthia
                Reporter:
                eighttails Tadahito Yao
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes