microsoft / microsoft/WindowsAppSDK

Prelaunch support like uwp apps in WinUi3

Open
#3,047 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature proposal
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

Startup performance of UWP apps on desktop device family devices is quite improved by proactively launching the apps that users use most often in the background.

is there anything like that supported in WinUi3?

```
///
/// This method should be called only when the caller
/// determines that we're running on a system that
/// supports CoreApplication.EnablePrelaunch.
///
private void TryEnablePrelaunch()
{
Windows.ApplicationModel.Core.CoreApplication.EnablePrelaunch(true);
}
```

Also mentioned that

> Performance considerations
> Today in version 1.0 of Windows App SDK, launch speeds, RAM usage, and installation size of WinUI 3 apps are larger/slower than seen in UWP. We are actively working to improve this. We will have more information to share in the future.

Are there any guidance for moving to WinUi3 for production ready apps or is it still not matured enough as UWP?
https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/migrate-to-windows-app-sdk/what-is-supported

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Windows App SDK migration guidance and the issue's CoreApplication.EnablePrelaunch example. Determine whether equivalent prelaunch support exists for WinUI 3 and whether the documented production-readiness guidance addresses the reported performance differences; no source files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
desktop, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.