rxhanson / Multitouch-Community

Issue and feature request tracking for the Multitouch app
https://multitouch.app
38 stars 0 forks source link

Keyboard shortcuts no "keyup"? (Ctrl+Tab) #159

Open alxkum opened 1 year ago

alxkum commented 1 year ago

I just tried this app because I wanted to map "3 finger swipe up" to the keyboard shortcut "Ctrl+Tab", so I can quickly jump to the previous tab in all applications.

I tried using this key combo in Firefox and unfortunately what happens is that, I suspect, the app only sends the "keydown" commands for the keys and not a quick follow up with the corresponding "keydown". Same for the Keystroke Recording function. The Firefox tab overlay just pops up, which usually only happens when you press down on "Ctrl+Tab" and then hold it. Just quickly pressing "Ctrl+Tab" usually just switches to the previous tab right away.

("Previous", as in "previously selected", not the tab to the left).

rxhanson commented 1 year ago

Unfortunately, I cannot reproduce what you're describing. The key up is sent, so I suspect that there might be something else getting in the way for you, external to Multitouch, or perhaps there is something you have unusual with Firefox?

alxkum commented 1 year ago

Thanks for looking into this so quick. I'm surprised to hear it does send the keyup-event, judging by how Firefox behaves. I disabled all third party apps that might interfere and disabled all three finger gestures in the Mac settings.

I cannot reproduce what you're describing

If you tried to replicate this in Firefox, you need at least 3 tabs open in the window for the issue to be apparent (Firefox does not show its tab manager when there's just two tabs). If you open three tabs in Firefox, then go CtrlDown + TabDown + TabUp and keep holding Ctrl you will see the tab manager appear and this is what happens to me too when I try to get Ctrl+Tab to work as a three finger up gesture in the Multitouch app. It's as if the Ctrl button is not being released or maybe it's not being released fast enough?

Edit:
I just noticed in Sublime Text it also seems to leave the "Ctrl" down. I have 3+ tabs open and wanna flip between two specific ones. Using Ctrl+Tab on my keyboard works exactly like that. However, when I don't let go of the "Ctrl" key and just continue hitting Tab, it will switch further back in the tab history instead of switching between the last two (Sublime doesn't have a tabmanager overlay like Firefox). Using the three finger up gesture with Multitouch having it mapped to Ctrl+Tab has the same effect. It's as if I never let go of the Ctrl key.

alxkum commented 1 year ago

This is unrelated but: are the "Restrictions" that I can add to the "Trackpad" section going to be added to the "Keyboard / Mouse" section, so remapped buttons/shortcuts can be limited to a single application for example?

rxhanson commented 1 year ago

Unfortunately, I still cannot reproduce it. Can you send me your config? Help > Debug > Copy Debug info to clipboard.

This is unrelated but: are the "Restrictions" that I can add to the "Trackpad" section going to be added to the "Keyboard / Mouse" section, so remapped buttons/shortcuts can be limited to a single application for example?

Yes, I do have this planned for an upcoming release, but I don't have an ETA for it.

alxkum commented 1 year ago

Unfortunately, I still cannot reproduce it. Can you send me your config? Help > Debug > Copy Debug info to clipboard.

That is so weird. Even in Sublime Text?

Debug info:

Multitouch: 1.27.11 | 166
macOS: Version 13.3.1 (a) (Build 22E772610a)
Model: MacBookPro18,3
Devices: ["internalTrackpad2:144115188075855919:47","unknown:288230376152973824:1262080","unknown:288230376152969216:1257472"]
Multitouch Configuration: [{"gid":{"gesture":"threeTap","appId":""},"r":{"type":3,"action":300}},{"gid":{"gesture":"threeSwipeUp","appId":""},"r":{"focus":false,"type":1,"keyCode":48,"modifierFlags":262144}},{"gid":{"gesture":"threeSwipeDown","appId":""},"r":{"type":5,"action":505,"flag":false}}] | tap-to-click

 

Yes, I do have this planned for an upcoming release, but I don't have an ETA for it.

Ok, nice, thanks.

alxkum commented 1 year ago

Do you maybe need any more info to debug/investigate this? My trial is expiring soon and I don't know if I should just keep looking for another solution.

rxhanson commented 1 year ago

Thanks for following up. Without a way to reproduce this, I can't justify digging deeper on it at this time, sorry! If I come across a scenario where I can narrow this down to being an issue that is fixable within Multitouch, and not an issue that's just caused by something else externally, then I'll report back here and I will get you set up with a way to try it out before purchasing.