D7798: [Folder View] Fix supported drag actions

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Sep 13 12:08:28 UTC 2017


broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  SetSupportedDragActions is deprecated and doesn't seem to work.
  This fixes modifier shortcuts for dragging, e.g. dragging with Ctrl+Shift to create a link.
  
  BUG: 382797

TEST PLAN
  I can now Ctrl+Shift and drag to create a link as well as Shift and drag to move.
  The cursor also changes to the appropriate "will create a link" cursor when doing the former.
  
  Selection when starting another drag after having used modifiers is erratic but that's a different issue.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D7798

AFFECTED FILES
  containments/desktop/plugins/folder/foldermodel.cpp
  containments/desktop/plugins/folder/foldermodel.h

To: broulik, #plasma, hein
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170913/4886d73f/attachment.html>


More information about the Plasma-devel mailing list