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

QDesktopServices::openUrl does not work with tree URLs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.3.0
    • GUI: Workspace
    • None
    • Android
    • 2023wk02FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2023wk06FOQtforAndroid

    Description

      QDesktopServices::openUrl() does not work with tree URLs retrieved by browsing (QDir::entryInfoList()) a directory like: content://com.android.providers.downloads.documents/tree/downloads/IMG_20210531_072258851.jpg

      The same file opens fine when an URL from QFileDialog::getOpenFileName() is used.

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              tumic Martin Tůma
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes