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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.14.2
    • 5.13.0
    • None
    • Host:Debian Linux Buster x64
      Target:XPERIA XZ Premium (Android9.0)
    • Android
    • 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

          For Gerrit Dashboard: QTBUG-77214
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              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