Bug 416927

Summary: It's very easy to drag task manager entries into another part of the panel, creating an icon launcher
Product: [Plasma] plasmashell Reporter: Emanuele <emanu.d3b>
Component: Task Manager and Icons-Only Task ManagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: agurenko, bizyaev, bugseforuns, catcool419, nate, notmart, plasma-bugs, postix, tbondvagyok
Priority: HI Keywords: usability
Version: 5.27.8   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=390817
https://bugs.kde.org/show_bug.cgi?id=402376
Latest Commit: Version Fixed In: 6.0

Description Emanuele 2020-01-29 20:13:20 UTC
With the new behavior of the panel modification introduced a small problem; you can easily move the icon in the panel as an object, with the previous behavior when locking widgets did not happen.

The locked icon on the panel, can move by mistake as an object

I make a short video to better understand

https://youtu.be/7gNySkbwkyw
Comment 1 Nate Graham 2020-01-31 19:16:00 UTC
Confirmed. This was always possible in unlocked mode before, but now that we've removed the UI to lock everything, there's no longer an easy workaround to stop this from happening.
Comment 2 Nate Graham 2020-01-31 19:18:58 UTC
I wonder if this should be fixed in the Task Manager to prevent drag-and-drop from the task manager onto the panel it lives on. It's hard for me to see a use case for that.
Comment 3 Ilya Bizyaev 2021-08-01 13:14:19 UTC
This happens to me way more often than I'd like to admit :D
Comment 4 Nate Graham 2021-08-02 16:38:53 UTC
Yeah me too.
Comment 5 Nate Graham 2022-01-27 00:25:39 UTC
*** Bug 449218 has been marked as a duplicate of this bug. ***
Comment 6 Bug Janitor Service 2024-01-24 21:12:47 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2002
Comment 7 Nate Graham 2024-01-26 04:50:46 UTC
Git commit f6e6e3d85afb588ebf597f0651bd64a7dabc8ff7 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 26/01/2024 at 05:50.
Pushed by ngraham into branch 'master'.

Prevent panel from accepting drops originating from one of its Task Managers
FIXED-IN: 6.0

M  +15   -0    applets/taskmanager/package/contents/ui/Task.qml
M  +3    -1    containments/panel/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/f6e6e3d85afb588ebf597f0651bd64a7dabc8ff7
Comment 8 Nate Graham 2024-01-26 05:26:15 UTC
Git commit 3031689335740328dcadafa6de6c64bfac27e1d2 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 26/01/2024 at 06:26.
Pushed by ngraham into branch 'Plasma/6.0'.

Prevent panel from accepting drops originating from one of its Task Managers
FIXED-IN: 6.0


(cherry picked from commit f6e6e3d85afb588ebf597f0651bd64a7dabc8ff7)

M  +15   -0    applets/taskmanager/package/contents/ui/Task.qml
M  +3    -1    containments/panel/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/3031689335740328dcadafa6de6c64bfac27e1d2