Skip to content
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: Live tiles for unpackaged apps #172

Open
JaiganeshKumaran opened this issue Sep 3, 2020 · 10 comments
Open

Proposal: Live tiles for unpackaged apps #172

JaiganeshKumaran opened this issue Sep 3, 2020 · 10 comments
Assignees
Labels
area-Notifications Toast notification, badges, Live Tiles, push notifications feature proposal

Comments

@JaiganeshKumaran
Copy link
Contributor

JaiganeshKumaran commented Sep 3, 2020

Proposal: Live tiles for unpackaged apps

Live tiles are the best feature on Windows however a lot of apps aren't using it because most old desktop apps can't use them without getting package which some companies might not want to do. Instead how about the application pointing to the shortcut in Start and updating the tile?

Summary

Unlike packaged apps where the tile is tied with the application, desktop tiles are just a shortcut. Because of this Windows can't enable live tiles for them however you could have an API that takes the shortcut location and assigns a live tile to that shortcut if it's pinned.

Rationale

  • Will make Windows 10 better for everyone
  • More apps will support live tiles

Scope

Capability Priority
This proposal will allow developers to add live tiles for unpackaged apps Must
This proposal will allow end users to view information from their favorite desktop app without launching it directly from the Start menu or Start screen Should

Important Notes

Here's an example on how the API can look

namespace Microsoft.UI.Shell.StartScreen
{
   runtimeclass LiveTileUpdater
   {
       For packaged apps
       static LiveTileUpdater CreateTileUpdaterForApplication();
       For unpackaged apps
       static LiveTileUpdater CreateTileUpdaterForApplicationShortcut(String shortcutPath):
   }
}
@ShankarBUS
Copy link

This should completely be possible.

Currently win32 apps can set custom tile (background, logos, foreground, text?) using a VisualElementsManifest in the form of MyApp.VisualElementsManifest.xml

Which will be placed together with the MyApp.exe. When the MyApp.exe is pinned to start, the start menu tracks the down the shortcut and finds the *.VisualElementsManifest.xml

So this is a proof that the start menu knows the pinned *.exe's location and *.VisualElementsManifest.xml file.

So the proposed API could send the Windows shell the location of the *.exe and fetch the TileUpdateManager for it (since the start menu is already aware of the pinned apps location it could update the respective tile for it)

@JaiganeshKumaran
Copy link
Contributor Author

@ShankarBUS Shortcut not exe. The executable is never pinned.

@ShankarBUS
Copy link

ShankarBUS commented Sep 3, 2020

We can pin an *.exe files as well. They will be created as a shortcut in the start menu folder. My point was the start menu tracks down the *.exe's location and finds the manifest for it already.

It should be possible. I know you can pin anything (file/folder) but only the executable should have live tiles, not the files.

@stevewri stevewri self-assigned this Sep 3, 2020
@sylveon
Copy link

sylveon commented Sep 7, 2020

IMO this should use App User Model IDs, not a shortcut. This is how stuff like jump lists are implemented already.

@sylveon
Copy link

sylveon commented Sep 7, 2020

In fact... there is an existing overload of CreateTileUpdaterForApplication which takes a string for a PRAID. It could be updated to also allow app user model IDs in case the app isn't packaged.

@andrewleader andrewleader added area-Notifications Toast notification, badges, Live Tiles, push notifications and removed area-Shell UX labels Sep 8, 2020
@stevenbrix
Copy link

@JaiganeshKumaran and @sylveon, check this out: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps

This should allow unpackaged apps to use live tiles. I'm sure the team would love feedback.

@DrusTheAxe for FYI

@JaiganeshKumaran
Copy link
Contributor Author

@stevenbrix But you pin the executable shortcut and not the shortcut for the sparse package. I don't think it will work because in the start screen you pin the shortcut to the executable and not the package?

@stevenbrix
Copy link

@JaiganeshKumaran have you tried? I just learned of this feature like 10 seconds ago, and it's late, so I haven't given it a try yet ☺️

The docs mention live tiles as being one of the features identity gives you, and doesn't mention live tiles as one of the things that doesn't work, so I was hopeful it would.

@JaiganeshKumaran
Copy link
Contributor Author

@stevenbrix I didn't try yet so I will give it a try

@ghost
Copy link

ghost commented Dec 10, 2021

@andrewleader @btueffers this issue should be closed because Live tiles are in maintenance mode/not being developed actively/not present in latest and greatest windows OS release (i.e dead).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Notifications Toast notification, badges, Live Tiles, push notifications feature proposal
Projects
None yet
Development

No branches or pull requests

9 participants