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] keystroke state will stuck when mapping a modifier key in insert mode #111

Closed
SunnyLimc opened this issue Jul 25, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed

Comments

@SunnyLimc
Copy link

SunnyLimc commented Jul 25, 2022

About Bug

As stated in title, any key mapping from insert mode will first cause key reproduce to currently focused application AND call win-vind function simultaneously.

Based on the above, if I noremap a normal key such as <tab-[> to edi-mode, the TAB key will be triggered simultaneously when I want to enter edi-mode.

Back to what this title says, if I map a modifier key such as <ralt-[> to edi-mode, the ralt key state will NOT be released when I back to insert mode.

PS: ESC and Function keys are too far away from my hand to press.

Steps to reproduce

  1. configure mappings
  2. press shortcut
  3. go back to insert mode
  4. press any single key like A-Z (do not press modifier key) and you will be aware that the modifier key is pressed.

Environments

Environments Delete the example and fill in your information.
Windows Edition [e.g. 11 Enterprise]
Windows Version [e.g. 21H2]
Windows Build [e.g. 22000.832]
Architecture [e.g. 64bit]
win-vind Version [e.g. 4.3.3]
win-vind Install Type [installer]
@pit-ray
Copy link
Owner

pit-ray commented Jul 28, 2022

Is it the same as #40?
#40 (comment)

The ralt is a special key, so does not do normal behavior. Probably, API causes this issues.

Thanks.

@pit-ray pit-ray added bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants