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

QMimeData returns "/.file/id=6571367.2204774" file URL when file is "copied" from the search window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.1
    • 4.8.0
    • Core: Other
    • None
    • Mac OS X

    Description

      QMimeData returns "/.file/id=xxxxxx.xxxxxxxx" file URL when file is "copied" from the search window (finder). If file is copied from the regular window QMimeData returns correct file URL.

      Steps to reproduce this issue.

      1) launch application from the attachments (main.cpp)
      2) open finder, and search for picture
      3) in search window, copy file by pressing (CMD + C)
      4) locate test application, focus it and "paste" picture (CMD + V)

      Test output:

      ("text/uri-list", "text/plain", "application/x-qt-image")
      URL: QUrl( "file:///.file/id=6571367.2204774/" )
      MIME: "regular-expressions-cheat-sheet-v2.png"

      Attachments

        1. main.cpp
          0.8 kB
          Qt Support

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              qtcomsupport Qt Support
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes