-
Notifications
You must be signed in to change notification settings - Fork 4
Description
There appears to be an issue where the AI Actions in Windows Explorer becomes disabled when you register an action which has no inputs or valid input combinations. When you add such an action to the samples/uri/cs/DisplayMessageApp sample app, build and install it the effect is visible in Explorer.
Simply add the following to Assets/Actions.json:
{
"id": "Samples.UriActions.DisplayYellow",
"description": "ms-resource://Resources/YellowDescription",
"inputs": [],
"inputCombinations": [ { "inputs": [] } ],
"outputs": [],
"instantiationDescription": "ms-resource://Resources/YellowInstantiationDescription",
"invocation": {
"type": "Uri",
"uri": "display-message-app://displayMessage?yellow"
}
}
This definition is valid according to the schema.
Verify that without the app, the 'AI actions' Explorer Context menu operates as expected. Build, pack, sign and install the sample app with the additional action. Verify that the new action is registered using App Actions Testing Playground, you don't even have to run the app:
It's presence will break the AI actions file shortcut menu in Explorer.
Uninstall the app, and the AI actions menu returns to its normal state. This happens in Windows 11 x64 build 26200.6725 installed from Windows Update from the beta channel.