[App List] Reduce sensitivity or remove the ability to un-favorite apps by dragging
The apps can be removed when the intent is to launch an app, by just accidentally slightly moving the cursor while clicking. I would personally prefer if dragging was only used for rearranging apps (e.g. when an app is held, the cursor can be moved anywhere on the screen, and the app would rearrange accordingly, similar to scroll bar behavior). This way, dragging within the App List would only be used for rearranging apps, while the context menu would be used to un-favorite an app.
I think reducing sensitivity would be fine.
This was a clear issue while observing a new user move to COSMIC.
https://github.com/pop-os/cosmic-applets/compare/app-list-drag?expand=1 should make it less sensitive. Does it feel like there are fewer accidental grabs?
It is a bit better, but I can still sometimes un-favorite unintentionally. For accessibility reasons (since people can possibly have trouble with letting go of a mouse button quickly), it might be better to only be able to un-favorite apps using the context menu, and would make it easier to rearrange apps when not having to worry about removing them while dragging (e.g. rearranging apps on a panel without gaps can un-favorite apps when the cursor approaches the screen edge). For reference, KDE Plasma and Windows don't allow removing an app from the taskbar by dragging it away. And personally, it would feel nicer for favorites to be more "locked", since favoriting and un-favoriting is probably a rare action.
Ok, thanks for testing it. I think then that it would be good to allow disabling DnD via the app-tray config.
Would it be possible to keep e.g. DnD from the App Library to the App Tray, but just not allow un-favoriting with DnD?
Ya, I don't think that it being a drop target is an issue. I Think it will probably still allow un-favoriting by default with DnD, but I'll make that configurable.
Thanks! I suppose user feedback closer to release will tell which would be the preferred default. Should I close this?
I'll close it after I make it configurable :)