-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Keyboard Manager cannot start editor #31708
Comments
Which Windows 10 version is this? /bugreport |
Uploading PowerToysReport_2024-03-06-09-08-30.zip… |
It is Windows 10 Professional 22H2 @jaimecbernardo |
Hi @paulhybryant , I think you didn't wait for the upload to GitHub to finish 😅 . I can't seem to dowload it. Can you please re-upload? |
PowerToysReport_2024-03-06-18-28-37.zip uploaded again. |
Same problem on Windows 11 Home, Version 23H2, Build 22631.3235 , Windows Feature Experience Pack 1000.22687.1000.0, PowerToys 0.79.0 run with admin permission. PowerToysReport_2024-03-07-00-16-55.zip Registrazione.2024-03-07.002142.mp4 |
Hi @paulhybryant @CarloHD , Could you please send a dump file? One way of achieving this would be by creating an entry in the Registry Editor ( It should look something like this in the end: After that, please replicate the bug, navigate to The idea is that this could show us the stack trace and help pinpoint what the issue might be. |
This seems to be crashing on this line from our code in XamlBridge2.cpp:
There's some issue with initializing the Xaml Windows on the users machines, but it's not clear what it is... Unfortunately we can't seem to repro it or have enough enough information in the crashdump to figure out what it is. It says there's an unavailable resource, but the installation of PowerToys has all the necessary files according to the bug report. This means it's likely some other resource that should be present in the system folders and isn't 🤔 Did the editor work for you in PowerToys 0.78? You can try this by uninstalling 0.79 and installing 0.78 to double check that. Thanks, in advance. |
on 0.78 works |
Thank you! My theory is bust, then :) |
Yeah, no problem, maybe my response doesn't will be rapids like now, but I'll respond asap |
Hi @CarloHD, I'm sending 4 builds to try what might be wrong. Can you please say which of these ones work for you? Inside each zip you'll find "EditKeys.bat" and "EditShortcuts.bat" to make it easier to start KeyboardManagerEditor as a standalone application. I think it's best to try these without PowerToys running at the same time. 1 - Keyboard Manager Editor 0.78 but built locally. 2 - Keyboard Manager Editor 0.79 but built locally. 3 - Keyboard Manager Editor 0.79 build locally without the chords and start app feature. 4 - Keyboard Manager Editor 0.79 build locally without the chords and start app feature and no CppWinRT update. Thanks, in advance. This is to help in understand if it's something related to the release server, or any of the recent changes that we did in Keyboard Manager Editor. |
I've closed PowerToys from the tray bar, so there's no instance of PowerToys running, but no one ".bat" files open the KeyboardManager. this is what i have on the prompt for every ".bat":
EditKeys.bat
EditShortcuts.bat
EditKeys
EditShortcuts
EditKeys
EditShortcuts
EditKeys
EditShortcuts
between the square brackets they say "process terminated with code ..." |
0.78 does not work for me though.
Should I try installing any XAML related thing? Some suggestions would be
helpful.
Thanks!
…On Fri, Mar 8, 2024 at 7:43 PM Jaime Bernardo ***@***.***> wrote:
This seems to be crashing on this line from our code in XamlBridge2.cpp:
// Prep for the WinUI resources
auto app = Microsoft::Toolkit::Win32::UI::XamlHost::XamlApplication({ Microsoft::UI::Xaml::XamlTypeInfo::XamlControlsXamlMetaDataProvider() });
There's some issue with initializing the Xaml Windows on the users
machines, but it's not clear what it is... Unfortunately we can't seem to
repro it or have enough enough information in the crashdump to figure out
what it is. It says there's an unavailable resource, but the installation
of PowerToys has all the necessary files according to the bug report. This
means it's likely some other resource that should be present in the system
folders and isn't 🤔
We do want to drop XAML islands and use actual XAML files so we can use
another technology for the editors, but that might still take a while.
Did the editor work for you in PowerToys 0.78? You can try this by
uninstalling 0.79 and installing 0.78 to double check that. Thanks, in
advance.
—
Reply to this email directly, view it on GitHub
<#31708 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADTSBLK2GHYCBFZN62H4V3YXGP57AVCNFSM6AAAAABEGO27ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBVGU2TAMBWGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With regards,
Yu Huang
|
I didn't see any termination code but none of the 4 works for me either.
…On Sat, Mar 9, 2024 at 7:34 AM CarloHD ***@***.***> wrote:
I've closed PowerToys from the tray bar, so there's no instance of
PowerToys running, but no one ".bat" files open the KeyboardManager.
this is what i have on the prompt for every ".bat":
1 - Keyboard Manager Editor 0.78 but built locally.
EditKeys.bat
D:\carlo\Desktop\KBMEditor78>PowerToys.KeyboardManagerEditor.exe 0
[processo terminato con codice 3765269347 (0xe06d7363)]
EditShortcuts.bat
D:\carlo\Desktop\KBMEditor78>PowerToys.KeyboardManagerEditor.exe 1
[processo terminato con codice 3765269347 (0xe06d7363)]
2 - Keyboard Manager Editor 0.79 but built locally.
EditKeys
D:\carlo\Desktop\KBMEditor79>PowerToys.KeyboardManagerEditor.exe 0
[processo terminato con codice 3765269347 (0xe06d7363)]
EditShortcuts
D:\carlo\Desktop\KBMEditor79>PowerToys.KeyboardManagerEditor.exe 1
[processo terminato con codice 3765269347 (0xe06d7363)]
3 - Keyboard Manager Editor 0.79 build locally without the chords and
start app feature.
EditKeys
D:\carlo\Desktop\KBMEditor79revertchords>PowerToys.KeyboardManagerEditor.exe 0
[processo terminato con codice 3765269347 (0xe06d7363)]
EditShortcuts
D:\carlo\Desktop\KBMEditor79revertchords>PowerToys.KeyboardManagerEditor.exe 1
[processo terminato con codice 3765269347 (0xe06d7363)]
4 - Keyboard Manager Editor 0.79 build locally without the chords and
start app feature and no CppWinRT update.
EditKeys
D:\carlo\Desktop\KBMEditor79RevertCppWinRT>PowerToys.KeyboardManagerEditor.exe 0
[processo terminato con codice 3765269347 (0xe06d7363)]
EditShortcuts
D:\carlo\Desktop\KBMEditor79RevertCppWinRT>PowerToys.KeyboardManagerEditor.exe 1
[processo terminato con codice 3765269347 (0xe06d7363)]
between the square brackets they say "process terminated with code ..."
—
Reply to this email directly, view it on GitHub
<#31708 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADTSBOJW7NBQ7HGRNE27N3YXJDH3AVCNFSM6AAAAABEGO27ZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWGU3DMNBSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
With regards,
Yu Huang
|
Am also experiencing this issue. Neither "Remap a key" nor "Remap a shortcut" will successfully launch. I tried fully uninstalling, then reinstalling PowerToys, but that didn't help. |
残念ですが私はこの問題の解決に貢献できないかもしれません。 |
This is my first experience with the Keyboard Manager so I'm not sure for what to expect. I've tried the builds:
I've remapped the A to CTRL+C, I get a warning, but it does work after opening the powertoys.
Not opening
Not opening
Opening, same behaivour like Keyboard Manager Editor 0.78 but built locally. EDIT: After opening the PowerToys the remaping works! |
さきほど、なぜかキーボードマネージャがうまく機能するようになりました。(普通のバージョン0.79です)この直前まで、私はOnedriveに大量のデータを送っていました。このとき、データ送信を円滑に行うために、PowerToysと無関係ないくつかのソフトと”PowerToys.Runner"の動作を、タスクマネージャによって止めました。もしかするとこのことと関係があるかもしれません。 |
I confirm, the keymap editor is working again, I did not make any changes to the system other than automatically updating the Windows build to version 22631.3374, and Windows Feature Experience Pack to version 1000.22688.1000.0, |
This was happening to me I installed the Microsoft c++ runtime libraries and it started working. |
I can confirm that this worked for me as well. I had the same issue as everyone listed above, but @rellevart1 option made my app work again. |
I've been able to reproduce this now, after uninstalling the VC runtime on a VM. It seems after the CppWinRT upgrade, we took dependencies on libraries that are not even present on the Keyboard Manager Editor folder. With use of sysinternal's Process Monitor tool, I'm able to see the files that Keyboard Manager Editor tries to open without success. |
Anyone on this thread that still has this issue, we're planning of making some changes to hopefully get this fixed. Inside the zip you'll find "EditKeys.bat" and "EditShortcuts.bat" to make it easier to start KeyboardManagerEditor as a standalone application. |
This one should be fixed with the 0.80.1 hotfix. Please update to the latest version: https://github.com/microsoft/PowerToys/releases |
Microsoft PowerToys version
0.79.0, 0.78.0
Installation method
WinGet
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
Open keyboard manager
Click remap key
✔️ Expected Behavior
The editor should start
❌ Actual Behavior
Nothing happens
This happens on windows 10, but it works ok on windows 11
See something like this in the log:
[2024-03-05 13:26:34.174067] [p-9392] [t-23028] [info] keyboard-manager logger is initialized
[2024-03-05 13:26:34.250143] [p-9392] [t-23028] [trace] Created/Opened Local\PowerToys_KBMEditor_InstanceMutex mutex
[2024-03-05 13:26:34.250249] [p-9392] [t-23028] [trace] Editor started from the settings with pid 22392
[2024-03-05 13:26:34.251609] [p-9392] [t-23028] [trace] SettingsHelper::LoadSettings()
[2024-03-05 13:26:34.252470] [p-9392] [t-23028] [trace] CreateEditKeyboardWindowImpl()
[2024-03-05 13:26:34.252571] [p-9392] [t-23028] [trace] Signaled PowerToys_KeyboardManager_Event_EditorWindow event to suspend the KBM engine
[2024-03-05 13:26:34.283217] [p-9392] [t-23028] [info] Theme is now Light
[2024-03-05 13:26:34.285527] [p-9392] [t-23028] [trace] XamlBridge2::InitBridge()
[2024-03-05 13:26:34.306984] [p-9392] [t-23028] [error] UNKNOWN EXCEPTION
[2024-03-05 13:26:34.307155] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307260] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307659] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307736] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307816] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307905] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.307990] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.308071] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.308167] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.308255] [p-9392] [t-23028] [error] Failed to get a symbol. ᅧᅯᅪᄐ애ᅫᅧᅫᄃ샤쉬ᄋᄀᆪ
[2024-03-05 13:26:34.308356] [p-9392] [t-23028] [error] STACK TRACE
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\WINDOWS\System32!UnhandledExceptionFilter
C:\WINDOWS\SYSTEM32!memset
C:\WINDOWS\SYSTEM32!_C_specific_handler
C:\WINDOWS\SYSTEM32!_chkstk
C:\WINDOWS\SYSTEM32!RtlRaiseException
C:\WINDOWS\SYSTEM32!RtlRaiseException
C:\WINDOWS\System32!RaiseException
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\Users\paulh\AppData\Local\PowerToys\KeyboardManagerEditor!
C:\WINDOWS\System32!BaseThreadInitThunk
C:\WINDOWS\SYSTEM32!RtlUserThreadStart
Other Software
No response
The text was updated successfully, but these errors were encountered: