jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
2.05k stars 108 forks source link

Bug: chord v2 overlapping chords #1142

Closed prescientmoon closed 1 month ago

prescientmoon commented 1 month ago

Requirements

Describe the bug

Consider this setup

      (a s d f) C-S-lalt
      (a s d  ) S-lalt
      (  s d f) C-lsft
      (a s    ) lalt
      (  s d  ) lsft
      (  s   f) lctl

For some reason, the individual modifiers work, but holding three keys together only triggers a single modifier.

Kanata version

kanata 1.6.1

Operating system

Nixos 24.05

Additional context

Sorry if this was fixed in a more recent commit. I tried looking through the issues, but might've missed something.

jtroo commented 1 month ago

Instead of C-S-lalt can you try (multi lctl lsft lalt)? The former has a behaviour of releasing eagerly to mitigate against unintended modified keys; e.g. when modified alpha character is the last key.

prescientmoon commented 1 month ago

Instead of C-S-lalt can you try (multi lctl lsft lalt)? The former has a behaviour of releasing eagerly to mitigate against unintended modified keys; e.g. when modified alpha character is the last key.

Thanks, this fixed it for me! (for some reason, the other one worked as well in the previous kanata version I was using)