-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show context menu with long press #2517
Comments
I don't think Files itself was ever long press aware so I have changed this to a feature request. However, if you want this to work globally, there is a setting in System Settings/Mouse & Touchpad/Clicking - "Long press secondary click" that should accomplish the desired behaviour. Have you tried this? |
I notice that the on my machine, the above-mentioned setting works with mouse clicks but only sometimes works with a single touchpad press. With the touchpad I have to do a long double-press i.e. two presses in quick succession with the second one held down. Not sure if this is a hardware/driver/upstream issue or can be fixed by changes to elementaryos code. Either way, it is not a Files issue unless you want this behaviour only to apply to Files. |
In the same settings plug, in the touchpad section, you can also set a two-finger normal touch pad press to be equivalent to a secondary click (and therefore show the context menu). |
I thought I mentioned it, but I am talking about a long press on a touchscreen. Will those settings work for touchscreen as well? |
@lokman2k5 Touchscreens and touchpads have different technology and drivers and are distinguishable by the software but I am not sure if there is much logical difference. They should both be able to generate click, double-click, long-press, pinch, zoom, swipe gestures but the exact capabilities (like how many simultaneous touches are distinguishable) may depend on the hardware. Touchpads may have additional capabilities like having different areas behave differently that would not be appropriate for a touch screen. I use a touchpad but I believe some elementaryos developers use a touchscreen. If an option does not work for you please file an issue with the details of the hardware you are using, I guess initially in the switchboard-plug-mouse-touchpad project. The software should detect what capabilities your device has and not offer options it cannot do. |
I think the long-press secondary click option is meant only as an accessibility feature for mice. We do support GTK's long-press gesture in the navigation buttons for example. I think we should probably use the long press gesture anywhere we have a secondary click gesture |
@danirabbit I read the settings plug to mean "Long press single click == secondary click" - is that what is intended? Because on my hardware I have to use a "Long press double click" where the second press is the long one. Do we have to implement long-press single click == secondary-click in each app? |
What Happened?
Finger long press in files(on empty area or on any file) does not show the context menu. Happens in X11 and Wayland.
Steps to Reproduce
Long press in files
Expected Behavior
Context menu appearing
OS Version
8.x (Circe)
Session Type
Classic Session (X11, This is the default)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
Thinkpad X1 Yoga Gen3
The text was updated successfully, but these errors were encountered: