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

Remapping shortcuts to include a remapped key works inconsistently #23231

Open
soliton-bryenton opened this issue Jan 9, 2023 · 8 comments
Open
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@soliton-bryenton
Copy link

soliton-bryenton commented Jan 9, 2023

Microsoft PowerToys version

0.66.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

Recently discovered PowerToys and it is a godsend for someone who runs a mac at home but a windows computer at work.

For consistency and ergonomics I much prefer the location of the command key for functions rather than using control as it is on windows. I've swapped my keycaps around to order windows / alt / control, and done the same inside of PowerToys. Amazing! However this results in the alt + tab functionality that I use a ton being a bit more out of reach (and inconsistent with the mac command + tab). When swapping control + tab > alt + tab, and vice versa - sometimes it will work and sometimes it will not.

Upon initial setup the first time using PowerToys everything was great. Then all of a sudden (perhaps some specific app is override keyboard settings?) I lost my alt + tab rebind.
Disabling and re-enabling keyboard manager did not resolve the issue, but restarting my computer brought back the functionality. However after a bit it was gone again.
Restarting PowerToys will bring back the functionality as well.

I am running as administrator.

I'll test with the applications I have on my computer to try to find what might be overriding if that's the case. However I thought I'd post first as I generally have a multitude of apps open at the same time for development.

powertoys

✔️ Expected Behavior

Control + tab sends command for alt + tab on repositioned alt/control keys.

❌ Actual Behavior

Alt + tab remapping is overidden and returns to functionality as if remap never took place (individual key remaps continue to work as expected)

Other Software

No response

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

As of so far I have yet to find any consistent repro steps. However I have found another keybind that "loses" it's binding.
I've bound Ctrl + Shift + 4 > Win + Shift + S, as that's the mac shortcut for the equivalent snipping tool. When I lose the ability to ctrl + tab I also lose this functionality.
screenshot

@Jay-o-Way
Copy link
Collaborator

Looks like the Keys and the Shortcuts are conflicting. Since one needs to press a few keys to type a shortcut. Key remappings are maintained, even "inside shortcuts". Maybe there's another app that can help you for this specific case, for example Microsoft Power Automate, or AutoHotkey?

@soliton-bryenton
Copy link
Author

When you say conflicting do you mean that the app itself is running into conflicts or that I've mapped something incorrectly?
My understanding was that remapping of individual keys took precedence, meaning that if I'd remapped windows to alt. Any remapped shortcuts including alt would only activate when they receive the "input call" for alt, which should now be originating from the windows key location.

I've thought about AutoHotkey as well, and can definitely set that up without issue. I was just very attracted to PowerToys thanks to all the other additions that are included (PowerToys Run is insane with how much better it is than the default windows search)

The thing that led me to believe that perhaps it was something getting into conflict with the app (or potentially a PowerToys bug) was that it will work for a set period of time, but then eventually (still no consistent repro) will stop until a PowerToys restart.

Again if I have misunderstood something, my apologies. But from reading the documentation I gathered my above assumption. :)

@soliton-bryenton
Copy link
Author

I should also mention that the individual key remaps continue to work. So for my use case I have swapped the alt key to control. All the usual ctrl + c / ctrl + t / etc. continue to work after the loss of functionality for the above mentioned shortcut rebinds.

@lwqisme
Copy link

lwqisme commented Mar 22, 2023

same issue as yours

I should also mention that the individual key remaps continue to work. So for my use case I have swapped the alt key to control. All the usual ctrl + c / ctrl + t / etc. continue to work after the loss of functionality for the above mentioned shortcut rebinds.↳

@kvervo
Copy link

kvervo commented Dec 13, 2024

Having the same issue. Had it for years now. Raised today #36334 to discover there was already this issue.

Noticed I moved from AutoHotkey of the same reason.

Happy to provide any logs or debugging information for this issue to be solved.

@creative-resort
Copy link

creative-resort commented Dec 17, 2024

In my case, deactivating and re-enabling the Keyboard Manager successfully re-applies the shortcuts, only for it to stop working after a single shortcut use.

It doesn't matter in which application I am when pressing a configured key combination. Once the shortcut has been used, the functionality is "spent" and none of the shortcuts work anymore.

Windows 11

@vttale
Copy link

vttale commented Jan 11, 2025

I don't quite get why issues that people are reporting with straight mapping doesn't involve remapping shortcuts are being duped to here. If the PT team has insights as to how they are the same issue, it would be great to see an explanation to that end.

For example, my Caps Lock to Control remapping randomly stops working, and that's the only remapping I have.

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

6 participants