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

QDesktopServices::openUrl does not work with tree URLs

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes