-
Notifications
You must be signed in to change notification settings - Fork 96
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
Feature req: Timeout gesture for default action #118
Comments
|
There certainly is a default action 🤔 and it works exactly as you describe; if you don't move the mouse at all, after a short timeout, right click is invoked; at least in case of click quick. The minimum pixel length rule is also applied already. 👍 Is there some specific application causing you troubles? It could also be caused by your gestures configuration, yet I can't really think about a possible setup in real quick. Or do you specifically mean click-and-hold action? 💡 |
For example, in Desktop (Finder) even after shortest movement menu will not be opened. What are timeout and minimal length values? Is it possible to expose them for fine tuning? |
Uff, I haven't looked at the code for some time 😄 yet it should be as follows:
If you press the right-button, keep it pressed and release after some time, then no, there's no timeout in that case (as during the press, we expect user to perform a gesture) and after releasing, context menu is shown until manually dismissed. If you want the context menu to be shown, you're supposed to either a) release the right mouse button at some point or b) release it immediately so that MG wouldn't even start recognising the gesture. Behaviour in combination with any RDP/remote desktop software may cause issues as these apps have their own mouse capture & events processing stacks, very likely in conflict with what MG may do. Windows-specific gestures like right-mouse dragging are even not known to macOS and since MG wants to follow macOS behaviour guidelines in the first place, this would be a direct conflict. I'd better recommend blacklisting RDP apps as we can't really guarantee any good behaviour with these. |
I'd prefer to have the standard action if the gesture took longer than {parameter} seconds. |
I've additionally checked 1. Short gesture is actually not triggered. But default action - like local menu for desktop is also not invoked for me. |
Sometimes the default behavior of the right button is required. If you right-click and wait longer than the threshold value without moving (for example, 0.5 s), the gesture can be canceled and default events can be triggered. Thanks.
The text was updated successfully, but these errors were encountered: