Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.1
-
host:linux x64
target:Android 7.0 or 7.1
Confirmed on XPERIA XZ Premium and Emulator
Description
On Android 6.0 or above QFileDialog only shows only inside app folder even if runtime permission is granted.(I used patch in QTBUG-50759)
QFileDialog::getExistingDirectory(NULL,"",QDir::homePath());
shows only /data under / and there's no way to select folder in sdcard.
but
QFileDialog::getExistingDirectory(NULL,"","/storage");
shows some folders including sdcard.
and if I go up to / , /data and /storage is shown.
The attached project demonstrates the behavior described above.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-62619 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
339831,2 | [Android] Add emulated storage to QFileDialog model list | dev | qt/qtbase | Status: NEW | 0 | 0 |