feat(panel): dnd improvements for the app list#1343
feat(panel): dnd improvements for the app list#1343edfloreshz wants to merge 3 commits intopop-os:masterfrom
Conversation
71cc9a1 to
98fcf7f
Compare
|
I've noticed some inconsistencies, please hold on merging this until I fix them. |
I've marked as a draft for you. Just let us know when it's ready to look at. |
- hide the original icon and replace its position with an empty container while dragging - reorder items only when the drag position crosses a defined threshold: center of the target +- 4px - the cursor's position is used to calculate the exact pickup offset - reduce the drag threshold to 0 to ensure no drag events are skipped - track the dragged item so that if it is removed during a drag and was previously active, it is automatically added to the active list
98fcf7f to
e2937f3
Compare
|
Reworked a few things to address some inconsistencies, also fixed a bug that caused multiple insertions if Would appreciate a second pair of eyes before we merge, happy to discuss any of the changes. |
wash2
left a comment
There was a problem hiding this comment.
I'd like to revisit this after the rebase updates are merged, and fix the libcosmic issue before merging the changes.
|
@wash2 Yesterday I bumped the applet to the latest |
This PR improves the app list drag and drop experience:
Currently blocked by: pop-os/libcosmic#1161
Current behavior:
2026-03-08.15-13-44.mp4
New behavior:
2026-03-08.15-12-45.mp4