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

QUrl::isLocalFile() should handle ContentUris

XMLWordPrintable

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

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes