Summary: | Wish: Option to launch items with single click in List mode | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | edkde <edkde> |
Component: | Desktop icons & Folder View widget | Assignee: | Eike Hein <hein> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | nate, plasma-bugs |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/d5abf12d6661f2a8f8449d9abe88468114a73dca | Version Fixed In: | |
Sentry Crash Report: |
Description
edkde
2020-04-18 17:11:19 UTC
Do you think you could explain why you want single-click here but not for other file views? Yes, it's simple. When the Folder View plasmoid is put on the taskbar (KDE panel) and is configured in List mode, it looks like a menu: When you click on the plasmoid, a popup list of menu items is shown and you can choose one of them to be launched. It is similar to the KDE start menu, where a popup list of menu items is shown and you can single click on one of them to be launched. In few words: It has the aspect of a menu, and the structure of a menu, but not the behaviour of a menu. I think many of us would love it to behave like a menu, by adding the option to enable single click. Well, kind of. It may look like a menu in some ways, but in other ways it's not: unlike a menu, you can drag-and-drop items into out of it, you can right-click on items to show an *actual* menu, and so on. I get the desire though. macOS behaves like this when you put a folder in the Dock; the pop-up that appears activates items on single-click only, despite macOS otherwise having double-click-only file views. I guess we can leave it up the Folder View devs. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1467 Git commit d5abf12d6661f2a8f8449d9abe88468114a73dca by Nate Graham. Committed on 13/04/2023 at 04:02. Pushed by ngraham into branch 'master'. Folder View: with menu representation, always open with a single click The single-click/double click setting applies to file and folder views. Folder View is definitely a file and folder view. However, when Folder view is in its list/menu representation, it's not *presenting* as a file or folder view, it's presenting as a menu. And menus always trigger their items with a single click. We already do a similar thing by always activating with a single touchscreen tap, bypassing the user's single/double-click preference. So there's precedent for having a hardcoded behavior to support certain UX paradigms. Hence, in list/menu mode, don't respect the user's setting for single/double click and always activate items with a single click. FIXED-IN: 6.0 M +2 -1 containments/desktop/package/contents/ui/FolderItemDelegate.qml M +3 -3 containments/desktop/package/contents/ui/FolderView.qml https://invent.kde.org/plasma/plasma-desktop/commit/d5abf12d6661f2a8f8449d9abe88468114a73dca A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2320 Git commit b7c80c6419b4eb3ae4b1024acf88da13d92e6b29 by Nate Graham. Committed on 21/06/2024 at 16:45. Pushed by ngraham into branch 'master'. Revert "Folder View: with menu representation, always open with a single click" This reverts commit d5abf12d6661f2a8f8449d9abe88468114a73dca. The change to always open items in single-click when using list mode was added by me in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1467 with two +1s and no discussion. But in retrospect, I think it was not the right change; the list-view popup may look like a menu and kind of acts like a menu, but it's not a menu--it's a file view in list mode. We don't force single-click for other such views in Dolphin, file dialogs, Kate, or other place where there are file views. Related: bug 484026 FIXED-IN: 6.2 M +1 -2 containments/desktop/package/contents/ui/FolderItemDelegate.qml M +3 -2 containments/desktop/package/contents/ui/FolderView.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/b7c80c6419b4eb3ae4b1024acf88da13d92e6b29 This got reverted for 6.2, sorry. |