Summary: | Wish: Option to launch items with single click in List mode | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | edkde <edkde> |
Component: | Folder | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
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: | 6.0 |
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 |