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

QStandardPaths::PicturesLocation paths on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15.13, 6.2.8, 6.5.0, 6.5.1, 6.6.0
    • 6.2.3
    • None
    • Qt 6.2.3
      Android 11
      Device: Samsung Galaxy Tab S5e
      SDK Version: 5.0
      NDK Version: 22.1.7171670
    • Android
    • 81a748efb (dev), 95ee8d3bc (6.5), 15287891d (tqtc/lts-5.15), 9b170b730 (tqtc/lts-6.2), 888de8bcf (6.4)

    Description

      According to the documentation, PicturesLocation in Android should contain the following two values:

      1. <USER>/Pictures
      2. <USER>/<APPNAME>/Pictures

      It happens that QStandardPaths::standardLocations(QStandardPaths::PicturesLocation) returns a list with two equal entries which are /storage/emulated/0/Android/data/<APPNAME>/files/Pictures

      Therefore I am not able to open directly the tablet's gallery folder in QFileDialog, but the last used folder is opened and then I have to navigate to the correct directory.

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            alef Alessandro Florio
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: