emateli created this revision.
emateli added a reviewer: plasma-devel.
Restricted Application added a project: Plasma.

REVISION SUMMARY
  This patch disallows dropping task manager items outside of the plasmoid when 
widgets are locked.
  As a user whose primary device is a laptop (with a touch screen at that) I 
find myself involuntarily dragging task manager icons to other applications, 
such as a maximized browser window or a code editor. This leads to `.desktop` 
files being dropped in various applications, which I can assume is not 
something one wants to do very often(if at all?).
  
  This patch disables this functionality when widgets are locked. When they are 
unlocked the behaviour stays the same(so icons can be dragged into the desktop 
and so on).
  
  This affects "Task Manager" and "Icons-Only Task manager" plasmoids.

TEST PLAN
  Have a panel with task manager
  
  - Lock widgets
  - Try to drop icons outside of panel

REPOSITORY
  R119 Plasma Desktop

BRANCH
  disable-drop

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

AFFECTED FILES
  applets/taskmanager/package/contents/ui/Task.qml
  applets/taskmanager/plugin/draghelper.cpp

To: emateli, plasma-devel
Cc: ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
apol, mart

Reply via email to