Command Palette crash on changing some extension changes
Microsoft PowerToys version
0.91.0
Installation method
PowerToys auto-update
Area(s) with issue?
Command Palette
Steps to reproduce
After upgrading to 0.91.0 certain Command Palette extensions cause a crash when trying to change their Alias. Built-in commands is one that does this quite often as does Windows Services. I'm trying to do things like :cmd for Built-in commands or :sys for Windows Services. I can't find rhyme or reason; it just crashes sometimes and sometimes it doesn't.
It does not crash all of Power Toys, just Command Palette. You must go back to PowerToys Settings and flip Enable Command Palette off and then on again to restart it.
Side Note: It looks like changing one extension and jumping to another does not "save" the changes in the first one if the app crashes before you close the Command Palette settings window. That may be by design, but it causes all kinds of pain when trying to change a lot of extensions and then the whole window crashes.
✔️ Expected Behavior
That the apps wouldn't crash when trying to change extension Alias settings. If some aliases are not allowed, then show a warning message box or something. Don't crash.
❌ Actual Behavior
As noted in Steps to reproduce above, sometimes changing an extension's Aliase causes it to crash, and you must restart Command Palette from PowerToys Settings.
Additional Information
OS version: Win 11, 24H2, 26100.4061 .NET version: dotnet --list-runtimes Microsoft.AspNetCore.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] System Language: English User or System Installation: System (I believe. Installed from WinGet.) Running as admin: No
Other Software
Outlook Classic: Version 2506 (Build 18911.20002 Click-to-Run) Teams DF: 25107.1608.3641.8950 Windows File Explorer
Can you share the contents of %LocalAppData%\Packages\Microsoft.CommandPalette_8wekyb3d8bbwe\LocalState\settings.json?
Oh I think I see what this is, this is #38783
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.