Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3
-
None
-
-
2024wk48s3FOQtforAndroid
Description
on iOS as well as Android (windows works fine),
when running CMake (can not prove QMake makes any difference), the FolderListModel{} does not see anything in StandardPaths.standardLocations(StandardPaths.PicturesLocation).pop()
NOTE: Permission for camera pictures is proiperly requested and granted, from AndroidManifest/Plist.info as well as via c++ call (when you run the example, app will ask you to grand permit).
In additional, I dont know how much this is connected together (if not, then ignore), The FileDialog{} see same pictures in location ONLY if NativePicker is used... so for test, run it as it is, and then run it again after removing FileDialog.DontUseNativeDialog from options.
- info that native picker works only on CMake was told by tpochep in QTBUG-120676
- However it does not explain why nonnative picker wont see the files, and mainly FolderListModel{} sees nothing as well
In the example please keep in mind to change AndroidManifest.xml.in on line 2 (package) to whatever fits you, I cant share my company stuff here.
Same applies to Plist.info.in on line 19 (CFBundleIdentifier)
UPDATE: so FolderListModel{} does not show anything even on QMake, however on Windows it works fine... i guess its because of the StandardPath, on Windows it directly navigates me to user pictures, but on iOS/Android it navigates me to pictures INSIDE testApp.app folder... however on same place FileDialog is navigated and native picker shows me camera picture just fine... so I am realy lost here
Attachments
Issue Links
- mentioned in
-
Page Loading...