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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical 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)

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes