Improve movement of icons within user palettes
The problem: If you try to drag a palette icon to a new position within the palette, it merely swaps places with the destination icon. This makes it time-consuming to rearrange a lot of palette symbols: For example, if you have just dragged a new custom object to the palette and want to move it into position further up the icon list.
There is a very obvious fix. Change the current behavior from SWAP to INSERT.
Comments
I agree this seems to make more sense. I wonder if these exists some use case for which the current behavior is better, but whatever it might be, I doubt it is as common as wanting the "insert" behavior.
I have a prototype that will insert the dragged element into the dropped place, shuffling everything else between them.
I will try to create some sort of feedback for the user so they can anticipate what will happen (maybe a thick line between cells where it will insert, or live-shuffling them if it isn't a performance issue).
Pull request added.
Will need some feedback on how we want to approach insertions. Do we want to shuffle all elements down, or just until we hit a space? Is the extended append wanted? You can now drop an element anywhere in the palette and it will be placed there (instead of snapping to last position).
Fixed in branch master, commit 1697498e7a
fix #102316 - palette drag & drop inserts instead of swaps
Automatically closed -- issue fixed for 2 weeks with no activity.
See #230321: Palettes: Allow sorting of icons by insertion (rather than swapping).