Bug 462779 - Cannot open the context menu with a touchscreen
Summary: Cannot open the context menu with a touchscreen
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-08 11:30 UTC by Patrick Silva
Modified: 2023-01-03 20:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-12-08 11:30:34 UTC
STEPS TO REPRODUCE
1. use a device with touchscreen
2. open Dolphin
3. open an empty folder
4. long press on an item from the Places panel or on the empty files view

OBSERVED RESULT
the context menu does not open

EXPECTED RESULT
the context menu opens

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 1 Felix Ernst 2022-12-08 13:44:34 UTC
This is intended. After selecting a file in selection mode the bottom bar can be used to activate all the context menu actions.
Comment 2 Patrick Silva 2022-12-08 13:48:10 UTC
I'm talking about when nothing is selected.
Comment 3 Felix Ernst 2022-12-08 14:09:00 UTC
Yes, this is a downside I mentioned early in development. This is also a reason why I didn't change what happens on long-press in the fundamental selection mode merge request. It was later added/changed in https://invent.kde.org/system/dolphin/-/commit/71ea4a88d890949500d05aa21839ad93ec6bdb1d.

I discussed the pros and cons of changing long-press to invoke the selection mode instead of opening a context menu in https://invent.kde.org/system/dolphin/-/merge_requests/273#note_442189. I was hesitant about this.

As it stands now though, this is the intended new behaviour. The old behaviour didn't (really) allow multi-selection of a curated subset of files in a folder by touch alone. The new behaviour forces users to find for example the "Paste" action in the hamburger menu or menu bar instead of invoking it through a context menu that appears on long-press. I hope this is somewhat alleviated by a new workflow that was also introduced. One can now press "Copy…" even when no files are selected. If this functionality is used, "Paste" can be used from the bottom bar after pressing "Copy […]" on that bottom bar.