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

QUrl::isLocalFile() should handle ContentUris

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 6.5.1, 6.5.3, 6.6.0
    • Core: I/O
    • None
    • Android

    Description

      I think `QUrl::isLocalFile()` must return `true` for contentUris in Android at least.

      "content://com.android.externalstorage.documents/document/primary%3A2.mkv"

      Current behavior is returning `false` for above example. it causes confusion because Android is using contentUri for local files instead of real path. (safety concerns)

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            spfl97 Dawn Walker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes