cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

[App List] Reduce sensitivity or remove the ability to un-favorite apps by dragging

Open git-f0x opened this issue 1 year ago • 1 comments

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.

git-f0x avatar Apr 18 '24 21:04 git-f0x

I think reducing sensitivity would be fine.

wash2 avatar Apr 19 '24 00:04 wash2

This was a clear issue while observing a new user move to COSMIC.

WatchMkr avatar May 14 '24 20:05 WatchMkr

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?

wash2 avatar May 14 '24 20:05 wash2

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.

git-f0x avatar May 14 '24 22:05 git-f0x

Ok, thanks for testing it. I think then that it would be good to allow disabling DnD via the app-tray config.

wash2 avatar May 14 '24 22:05 wash2

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?

git-f0x avatar May 14 '24 23:05 git-f0x

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.

wash2 avatar May 14 '24 23:05 wash2

Thanks! I suppose user feedback closer to release will tell which would be the preferred default. Should I close this?

git-f0x avatar May 14 '24 23:05 git-f0x

I'll close it after I make it configurable :)

wash2 avatar May 15 '24 00:05 wash2