Bug 376212

Summary: Minimize Windows widget: auto-invoke minimize action when files are dragged over
Product: [Plasma] plasmashell Reporter: Gregor Mi <codestruct>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: bshah, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.8.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Mi 2017-02-08 22:30:50 UTC
Reading this blog post (https://blogs.kde.org/2017/01/31/plasma-510-spring-loading-folder-view-performance-work) it came to my mind that in earlier days the Minimize Windows widget triggered the minimize action automatically if the mouse hovered over it, while "carrying" (dragging) one or more files with it.

This was a handy feature when one starts dragging a file from dolphin with the intent to place a symlink on the desktop. Could the function be restored? This would also be interesting for the Show Desktop widget.
Comment 1 David Edmundson 2017-02-09 15:01:06 UTC
Git commit 5fb9a2585d9fdb0b65954970815dd4edd83a1185 by David Edmundson.
Committed on 09/02/2017 at 15:01.
Pushed by davidedmundson into branch 'master'.

Activate minimise all plasmoid on mouse enter if the user is dragging mimedata

Summary:
This allows the user to easily drag a file from dolphin into a
folderview on a desktop even if windows are in the way.

Test Plan:
Dragged an item, things minimised
Normal mouse enter, nothing happened
Click still works as normal

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4521

M  +11   -1    applets/minimizeall/package/contents/ui/main.qml

https://commits.kde.org/kdeplasma-addons/5fb9a2585d9fdb0b65954970815dd4edd83a1185
Comment 2 Kai Uwe Broulik 2017-02-09 15:23:40 UTC
Git commit d0f3fe57ac0da9660dc393aa9f0acfff024a1385 by Kai Uwe Broulik.
Committed on 09/02/2017 at 15:23.
Pushed by broulik into branch 'master'.

[Show Desktop Applet] Trigger when dragging something onto it

This allows the user to easily drag a file from dolphin into a
folderview on a desktop even if windows are in the way.

Reviewed-By: David Edmundson

M  +13   -0    applets/showdesktop/package/contents/ui/main.qml

https://commits.kde.org/kdeplasma-addons/d0f3fe57ac0da9660dc393aa9f0acfff024a1385