Skip to content
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

Bug: process-unmapped-keys keeps shifting keys in Windows Terminal #1458

Open
2 tasks done
xudyang1 opened this issue Jan 2, 2025 · 2 comments
Open
2 tasks done

Bug: process-unmapped-keys keeps shifting keys in Windows Terminal #1458

xudyang1 opened this issue Jan 2, 2025 · 2 comments
Assignees
Labels
bug Something isn't working llhook Pertains to the standard version of Kanata on Windows question Further information is requested windows Issue pertains to Windows only

Comments

@xudyang1
Copy link

xudyang1 commented Jan 2, 2025

Requirements

Describe the bug

process-unmapped-keys keeps shifting keys after pressing ctrl+shift+number in windows terminal.

Relevant kanata config

No response

To Reproduce

  1. Prepare a basic config file config.kbd:
(defcfg
  process-unmapped-keys yes
)

(defsrc)
(deflayermap (base)
  caps esc
  esc  `
)
  1. powershell run kanata -c config.kbd
  2. type ctrl+shift+1 to open a new tab with profile index 1
  3. type any keys to see the output (e.g., type abcd, but ABCD shown on the screen).
  • disable process-unmapped-keys fixes it
    config.kbd:
(defsrc)
(deflayermap (base)
  caps esc
  esc  `
)

Expected behavior

should not shift keys

Kanata version

1.7.0

Debug logs

No response

Operating system

windows 10

Additional context

When keys are shifted, alt+tab twice (switch to another program and switch back) temporarily fixes the shift. Typing ctrl+shift+1 and the bug occurs again.

@xudyang1 xudyang1 added the bug Something isn't working label Jan 2, 2025
@jtroo
Copy link
Owner

jtroo commented Jan 2, 2025

Does this still reproduce if you try winiov2 variant?

@jtroo jtroo added question Further information is requested windows Issue pertains to Windows only llhook Pertains to the standard version of Kanata on Windows labels Jan 3, 2025
@xudyang1
Copy link
Author

xudyang1 commented Jan 7, 2025

Does this still reproduce if you try winiov2 variant?

Yes. This is reprodusible even for winiov2 variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working llhook Pertains to the standard version of Kanata on Windows question Further information is requested windows Issue pertains to Windows only
Projects
None yet
Development

No branches or pull requests

2 participants