Skip to content

App activation#771

Merged
josuave merged 2 commits intomasterfrom
app-activation
Aug 14, 2023
Merged

App activation#771
josuave merged 2 commits intomasterfrom
app-activation

Conversation

@dremin
Copy link
Copy Markdown
Collaborator

@dremin dremin commented Aug 14, 2023

Recently Windows has been packaging some inbox win32 apps such as Notepad and Paint, so we are launching them via AppUserModelId. However, the way we did this required explorer.exe to be running, even though these apps can run just fine without explorer.

This changes apps known to launch without explorer (Edge PWAs and FullTrust apps) to use the new activation method exposed by ManagedShell, so now they can launch without explorer. This doesn't change anything for sandboxed apps such as Calculator.

The reason sandboxed apps are still launched using the old method that requires explorer: Sandboxed apps still require explorer to run anyway, and app activation APIs hang for quite some time when trying to launch them, so the old method ultimately works better.

This fixes #734 which specifically mentions Edge PWAs.

@dremin dremin requested a review from josuave August 14, 2023 02:20
@josuave josuave merged commit fd147a9 into master Aug 14, 2023
@josuave josuave deleted the app-activation branch August 14, 2023 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cairo cant open uwp programs with windows as shell

2 participants