PowerToys
PowerToys copied to clipboard
`!c` alias in Command Palette opens Settings extension despite being assigned to Calculator extension
Microsoft PowerToys version
0.90.1
Installation method
PowerToys auto-update
Area(s) with issue?
Command Palette
Steps to reproduce
- In Command Palette settings, enable both the "Windows Settings" and "Calculator" extension.
- For "Windows Settings", set the alias to
!i(indirect). - For "Calculator", set the alias to
!c(indirect). - Open the Command Palette window.
- Type
!c. Command Palette directly navigates to "Windows Settings".
✔️ Expected Behavior
When the alias !i is assigned to the Windows Settings extension, and the alias !c is assigned to the Calculator extension, typing !c in Command Palette should open the Calculator extension.
❌ Actual Behavior
When the alias !i is assigned to the Windows Settings extension, and the alias !c is assigned to the Calculator extension, typing !c in Command Palette directly opens the Windows Settings search extension. This renders any alias starting !c inoperable. However, !i correctly opens Settings, and Command Palette clearly shows the assigned aliases.
https://github.com/user-attachments/assets/0f7cafe4-c333-4b59-9710-a0295bd08387
Additional Information
OS version: Windows 11, version 23H2 (build 22631.5189) System Language: English (United Kingdom) as primary language, Japanese as secondary input language Running as admin: No
Other Software
No response
Might be related to https://github.com/microsoft/PowerToys/issues/38390
Can you share the contents of %localAppData%\Packages\Microsoft.CommandPalette_8wekyb3d8bbwe\LocalState\settings.json?
I think this might be #38167 (which may have been fixed in #38193)
Here you go:
"Hotkey": {
"win": true,
"ctrl": false,
"alt": true,
"shift": false,
"code": 32,
"key": ""
},
"ShowAppDetails": true,
"HotkeyGoesHome": true,
"BackspaceGoesBack": true,
"SingleClickActivates": true,
"HighlightSearchOnActivate": false,
"ProviderSettings": {
"AllApps": {
"IsEnabled": true
},
"Run": {
"IsEnabled": true
},
"Calculator": {
"IsEnabled": true
},
"Files": {
"IsEnabled": true
},
"Bookmarks": {
"IsEnabled": false
},
"WindowWalker": {
"IsEnabled": true
},
"WebSearch": {
"IsEnabled": true
},
"WinGet": {
"IsEnabled": true
},
"WindowsTerminalProfiles": {
"IsEnabled": false
},
"Windows.Settings": {
"IsEnabled": true
},
"Windows.Registry": {
"IsEnabled": true
},
"Windows.Services": {
"IsEnabled": true
},
"Core": {
"IsEnabled": false
},
"DateTime": {
"IsEnabled": true
},
"System": {
"IsEnabled": true
},
"AdvaithAJ.CurrencyConverterforCommandPalette_v0yv46xh6p59a!App!ID": {
"IsEnabled": true
},
"DavideGiacometti.EdgeFavoritesForCmdPal_vmjk9v3vswc4e!App!PG-SP-ID": {
"IsEnabled": true
},
"GitHubExtension_8wekyb3d8bbwe!App!PG-SP-ID": {
"IsEnabled": true
}
},
"Aliases": {
":": {
"CommandId": "com.microsoft.cmdpal.registry",
"Alias": "!reg",
"IsDirect": false
},
"$": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
},
"=": {
"CommandId": "com.microsoft.cmdpal.calculator",
"Alias": "!c",
"IsDirect": false
},
"\u003E": {
"CommandId": "com.microsoft.cmdpal.shell",
"Alias": "!r",
"IsDirect": false
},
"\u003C": {
"CommandId": "com.microsoft.cmdpal.windowwalker",
"Alias": "!w",
"IsDirect": true
},
"??": {
"CommandId": "com.microsoft.cmdpal.websearch",
"Alias": "!d",
"IsDirect": false
},
"file ": {
"CommandId": "com.microsoft.indexer.fileSearch",
"Alias": "!e",
"IsDirect": false
},
")": {
"CommandId": "com.microsoft.cmdpal.timedate",
"Alias": "!time",
"IsDirect": false
},
"!a ": {
"CommandId": "AllApps12262804574918292879",
"Alias": "!a",
"IsDirect": true
},
"!a": {
"CommandId": "AllApps12262804574918292879",
"Alias": "!a",
"IsDirect": true
},
"!r": {
"CommandId": "com.microsoft.cmdpal.registry",
"Alias": "!reg",
"IsDirect": false
},
"!r ": {
"CommandId": "com.microsoft.cmdpal.shell",
"Alias": "!r",
"IsDirect": false
},
"!c": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
},
"!c ": {
"CommandId": "com.microsoft.cmdpal.calculator",
"Alias": "!c",
"IsDirect": false
},
"file": {
"CommandId": "com.microsoft.indexer.fileSearch",
"Alias": "!e",
"IsDirect": false
},
"!e": {
"CommandId": "com.microsoft.indexer.fileSearch",
"Alias": "!e",
"IsDirect": false
},
"!e ": {
"CommandId": "com.microsoft.indexer.fileSearch",
"Alias": "!e",
"IsDirect": false
},
"!w": {
"CommandId": "com.microsoft.cmdpal.windowwalker",
"Alias": "!w",
"IsDirect": true
},
"!d": {
"CommandId": "com.microsoft.cmdpal.websearch",
"Alias": "!d",
"IsDirect": false
},
"!d ": {
"CommandId": "com.microsoft.cmdpal.websearch",
"Alias": "!d",
"IsDirect": false
},
"!g ": {
"CommandId": "WinGet8136381993641428235",
"Alias": "!g",
"IsDirect": false
},
"!g": {
"CommandId": "WinGet8136381993641428235",
"Alias": "!g",
"IsDirect": false
},
"!set ": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
},
"!reg": {
"CommandId": "com.microsoft.cmdpal.registry",
"Alias": "!reg",
"IsDirect": false
},
"!reg ": {
"CommandId": "com.microsoft.cmdpal.registry",
"Alias": "!reg",
"IsDirect": false
},
"!serv ": {
"CommandId": "Windows.Services16868918614488443690",
"Alias": "!serv",
"IsDirect": false
},
"!time": {
"CommandId": "com.microsoft.cmdpal.timedate",
"Alias": "!time",
"IsDirect": false
},
"!time ": {
"CommandId": "com.microsoft.cmdpal.timedate",
"Alias": "!time",
"IsDirect": false
},
"!sys ": {
"CommandId": "System9356856095700835494",
"Alias": "!sys",
"IsDirect": false
},
"!money ": {
"CommandId": "AdvaithAJ.CurrencyConverterforCommandPalette_v0yv46xh6p59a!App!ID685024849200446995",
"Alias": "!money",
"IsDirect": false
},
"!gh ": {
"CommandId": "GitHubExtension_8wekyb3d8bbwe!App!PG-SP-ID14283461308287125000",
"Alias": "!gh",
"IsDirect": false
},
"!fav ": {
"CommandId": "DavideGiacometti.EdgeFavoritesForCmdPal_vmjk9v3vswc4e!App!PG-SP-ID12936294450445468815",
"Alias": "!fav",
"IsDirect": false
},
"!set": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
},
"!calc ": {
"CommandId": "com.microsoft.cmdpal.calculator",
"Alias": "!c",
"IsDirect": false
},
"!i ": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
}
},
"CommandHotkeys": [],
"SummonOn": "ToMouse",
"apps.EnableStartMenuSource": "true",
"apps.EnableDesktopSource": "true",
"apps.EnableRegistrySource": "false",
"apps.EnablePathEnvironmentVariableSource": "false"
}```
Yea okay I think this should be fixed by #39462, though, you'll probably need to manually clean up the settings file.
You'll probably need to pick one of each of these to keep:
"!r": {
"CommandId": "com.microsoft.cmdpal.registry",
"Alias": "!reg",
"IsDirect": false
},
"!r ": {
"CommandId": "com.microsoft.cmdpal.shell",
"Alias": "!r",
"IsDirect": false
},
"!c": {
"CommandId": "com.microsoft.cmdpal.windowsSettings",
"Alias": "!i",
"IsDirect": false
},
"!c ": {
"CommandId": "com.microsoft.cmdpal.calculator",
"Alias": "!c",
"IsDirect": false
},
Pretty sure that this was /dup #38167, and it should be fixed in PT0.91 / CmdPal 0.2.0
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!