Open tofylion opened 1 year ago
Correction: the issue happens when window action is inside or outside the keypress
@tofylion Have you assigned other keys(e,g CAPSLOCK) to LEFTCTRL? I use an external tool called xremap to change keybind from CAPSLOCK to LEFTCTRL, and in my environment, the bug you reported seems to be reproduced.
Actually, when Fusuma executes sendkey, it intentionally releases the modifier keys other than the key specified by keypress before executing sendkey. This includes CAPSLOCK, and if Fusuma releases CAPSLOCK, the remapped LEFTCTRL will also be released, which may cause this kind of bug.
Below is a list of modifier keys that are automatically released just before sendkey.
CAPSLOCK
LEFTALT
LEFTCTRL
LEFTMETA
LEFTSHIFT
RIGHTALT
RIGHTCTRL
RIGHTSHIFT
RIGHTMETA
What I'm thinking of now is to make the automatic release of modifier keys an option(clearmodifier: true
).
This may not work properly in some cases, but I think it's better than being released all modifier keys automatically. I think it's best to minimize the surprise.
Describe the bug When I'm trying to add 2 actions for the same gesture, one with a keypress and one without, they both activate with the keypress. This only happens with the window actions when they are set to be the ones without the keypress. In my config below, they are in the 4-finger swipe up and down gestures
To Reproduce Steps to reproduce the behavior:
Expected behavior When clicking the key (ctrl), the action that's not on keypress shouldn't trigger. Only the action inside the keypress should trigger
Versions
Configuration