D13274: Make drags from the Task Manager less prone to disaster

Eike Hein noreply at phabricator.kde.org
Sun Jun 3 16:00:46 UTC 2018


hein added a comment.


  Agreed on master-only.
  
  > The fact that TM entries are draggable outside their panel in the first place is a bit odd in many contexts because most of the time you're going to be looking at apps, not your desktop, and there's nothing you would actually want to or be able to drag them to.
  
  I don't think this is odd at all. It's how desktop UIs work. I can also drag tabs from Firefox outside of Firefox, but I can't just drop them everywhere. Drags are globally modal in some sense, as are, say, context menus. There's no concept of "you can only drag within this area", generally, unless you go for cursor confinement, which has a host of other downsides.
  
  It works the same in other desktop operating systems, e.g. in the Mac OS dock.
  
  > I kind of preferred one of the original patches from way back yonder that only made TM entries draggable outside their panel when widgets were unlocked (D8564 <https://phabricator.kde.org/D8564>: Disallow drop of task manager icons outside of plasmoid when widgets are locked).
  
  This is not what the patch you like actually did. That patch disallowed //dropping// things outside the panel when it's locked, but it still, of course, allowed dragging them outside of the panel. It's basically the same as this, except that you need to unlock the panel to drop things on the desktop. I find that unnecessarily complicated and this works better.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

To: hein, davidedmundson, Zren
Cc: ngraham, zzag, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180603/d4c49e6e/attachment-0001.html>


More information about the Plasma-devel mailing list