Bug 454581

Summary: Dragging an app anywhere to the right of the Task Manager results in the creation of an Icon widget on the left side of the Task Manager rather than the dragged location
Product: [Plasma] plasmashell Reporter: Ahmad Samir <a.samirh78>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dev.bacteriostat, nate, niccolo.venerandi, qydwhotmail
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:

Description Ahmad Samir 2022-05-29 19:31:04 UTC
When I drag an app icon to the panel (from the application launcher menu or krunner) to the right of the task manager, it looks like it's going to be added there (the existing icons move to make space for the new one), then once I "drop" it / release the mouse button, it's added to the left of the task manager.

This with git master including https://invent.kde.org/plasma/plasma-desktop/-/commit/38bf92fc70e6717fd46fb63fc59fc1eb32c721ce.
Comment 1 Nate Graham 2022-05-29 23:13:23 UTC
Do you have the fix for Bug 454105 already?
Comment 2 Ahmad Samir 2022-05-30 08:44:15 UTC
Yes.
Comment 3 Nate Graham 2022-06-01 16:37:00 UTC
Can reproduce. Might be fixed by one of the panel MRs that are still floating around in review.
Comment 5 Fushan Wen 2022-06-05 16:08:37 UTC
Git commit 7fe89659d727c2027f49c82d2ed2fa563caeb0c3 by Fushan Wen.
Committed on 05/06/2022 at 16:06.
Pushed by fusionfuture into branch 'master'.

containments: add an application icon to the dragged location

x === 0 && y === 0: when adding a new application icon applet from
Kickoff context menu.
FIXED-IN: 5.25

M  +1    -1    containments/panel/contents/ui/LayoutManager.js

https://invent.kde.org/plasma/plasma-desktop/commit/7fe89659d727c2027f49c82d2ed2fa563caeb0c3
Comment 6 Fushan Wen 2022-06-05 16:09:34 UTC
Git commit 1ccbbfc9b66b69b067fb0e08982effc2ed9e61ce by Fushan Wen.
Committed on 05/06/2022 at 16:09.
Pushed by fusionfuture into branch 'Plasma/5.25'.

containments: add an application icon to the dragged location

x === 0 && y === 0: when adding a new application icon applet from
Kickoff context menu.
FIXED-IN: 5.25

(cherry picked from commit 7fe89659d727c2027f49c82d2ed2fa563caeb0c3)

M  +1    -1    containments/panel/contents/ui/LayoutManager.js

https://invent.kde.org/plasma/plasma-desktop/commit/1ccbbfc9b66b69b067fb0e08982effc2ed9e61ce