-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Have WinUI Desktop support the UWP Jumplist API #2005
Comments
@jesbis Can you please route this ? It looks like it might be part of the shell. |
@jesbis This seems like a good fit for Project Reunion. Should we transfer this issue (and update it to include all Win32 apps)? |
Taskbar APIs like badging and preview buttons - as well as Context Menus etc - should be wrapped so Fluent WinUI controls can replace Win32 controls one at a time. |
Surely they should be separate from any UI stack? E.g. They’re a service of the shell, not the app platform. |
This issue should be moved to Project Reunion (and extended to cover all Win32 apps and not just WinUI Desktop apps). Pinging @stevewri as they assigned themself to another UWP Jumplist API request. |
I am having a look at getting Xamarin.Essentials / Microsoft MAUI running on WinUI and I notice that although the JumpList items are set, they do not have the args that I set when it launches the instance of the app. When the next instance of the app is launched, the JumpList still has the items with my args set. Just the OnLaunched event args do not have it. When I added breakpoint in the generated |
I added a hacky thing for my stuff: var args = e?.Arguments;
#if !WINDOWS_UWP
if (string.IsNullOrEmpty(args))
{
var cliArgs = Environment.GetCommandLineArgs();
if (cliArgs?.Length > 1)
args = cliArgs[1];
}
#endif |
Copied from the WinUI February Community Call thread to be used for tracking.
Currently, MSIX packaged desktop apps cannot effectively use the UWP Jumplist API because the app cannot be activated via jumplist tasks (see Windows Terminal issue microsoft/terminal#576 for a brief overview of the problem). Full support of this API for WinUI Desktop apps would be quite nice as they are much easier to work with than the Win32/WPF APIs. For example, jumplist task icons can be easily set using the
ms-appx:///
orms-appdata:///
URI schemes instead of having to create an .exe or .dll containing the images, then set the path to that file and also an offset into the file for the specific icon.The docs summarize the advantages of the UWP Jumplist API:
The text was updated successfully, but these errors were encountered: