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

On mac drag'n drop to trash in dock has no effect

    XMLWordPrintable

Details

    • macOS
    • f5c3d48c998ecca0ac88c8bc1281db2a449479c8

    Description

      Start QtCreator, switch to viewing the "file system" at the top left. Attempt to drag and drop a file to the Trash on the dock has no effect. Dragging and dropping onto a folder in the dock does work. The same happens on application where is a simple list showing files. The drag is setup like this

      QList<QUrl> list; 
      for( const QString & url: urls ) { 
          list << url; 
      } 
      
      QMimeData* mime = new QMimeData; 
      mime->setUrls( list ); 
      
      QDrag *drag = new QDrag( this ); 
      drag->setMimeData( mime ); 
      drag->exec( Qt::CopyAction, Qt::CopyAction );
      

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            misalmel Mika Salmela
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes