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

File's url copy in QMimeData cannot be past under windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.7.0
    • None
    • windows 7 x32

    Description

      When I set my clipboard with a MimeData url like : C:/xxx/yyy/ it doesn't work.
      I have to change the path to : /xxx/yyy and it works.

      QList<QUrl> urls;
      urls.append(QUrl("C:/file.png"));  ==> don't works
      urls.append(QUrl("/file.png"));  ==> works
      
      QMimeData * mime = new QMimeData;
      mime->setUrls(urls);
      QApplication::clipboard()->setMimeData(mime);
      
      

      Attachments

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

        Activity

          People

            earthdomain Earth Domain (Inactive)
            dridk sacha schutz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes