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

Incorrectly listens to alt (right) when non EN-US keyboard is on. #31079

Open
alkaitagi opened this issue Jan 21, 2024 · 2 comments
Open

Incorrectly listens to alt (right) when non EN-US keyboard is on. #31079

alkaitagi opened this issue Jan 21, 2024 · 2 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@alkaitagi
Copy link

alkaitagi commented Jan 21, 2024

Microsoft PowerToys version

0.77.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

  1. Running on Windows 11, my display and first installed language is EN-US.
  2. Install another keyboard in Windows Settings. I consistently reproduce it with several layouts, be Latin-based Turkish, Cyrillic-based Russian, or, amazingly, even English UK.
  3. Switch OS to the other keyboard (i.e. non EN-US).
  4. In Keyboard Manager settings open "Remap Shortcuts" window. Click "➕ Add shortcut remapping", on the new entry click "select" button. The listening modal UI appears.
  5. Press alt (right) key.

✔️ Expected Behavior

It should register only alt (right) which is being actually pressed.

❌ Actual Behavior

It registers ctrl (left) as well (first).

So, say I want to bind alt (right)+к to type Cyrillic letter ҡ. I proceed with ctrl (left) added anyway (the bug). When I hold all the 3 keys it works correctly. However, it also allows me to type the letter even with just alt (right)+к, but only for the first tap of the latter (similar to #4647).

The bug doesn't occur with seemingly any other key, only with alt (right).

Other Software

No response

@alkaitagi alkaitagi added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 21, 2024
@alkaitagi
Copy link
Author

alkaitagi commented Jan 21, 2024

There's a simple workaround though. On the newly created remapping I click the unwanted ctrl (left) and in the dropdown list select none. After which it disappears and the whole binding works as desired.

@Chealer
Copy link

Chealer commented Sep 22, 2024

Thank you, I was getting the same in 0.84.0 on Windows 11 with a CAN/CSA Z243.200 keyboard, and upgrading to 0.84.1 didn't help. Unfortunately, your workaround doesn't really work for me; it allows me to get rid of the Ctrl in the definition, but the shortcut still won't trigger. :-(

Please retitle to something more specific like:

Keyboard manager: defining a shortcut with Alt (right) also requires Ctrl (left) is non-en_US layouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

2 participants