Skip to content

Defining an App Action with no inputs disables the AI actions Explorer context menu #12

@Nick-Reincubate

Description

@Nick-Reincubate

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:

Image

It's presence will break the AI actions file shortcut menu in Explorer.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions