UWP has a nice Badge Notifications API which adds a badge to an app's tile in the Start Menu and to the app's taskbar button:
(Example UWP app showing taskbar app button badge.)
Using the same API in a MSIX packaged desktop app adds the badge to the app's tile in the Start Menu, but there is no additional badge in the app's taskbar button. Will WinUI Desktop apps using UWPs Badge API be able to show a badge in the taskbar just like UWP apps?
@marb2000 as FYI
Hey Felix, thanks for asking this. We're investigating and will get back to you!
Hey Felix,
For Win32 apps using MSIX, we disabled the UWP badges from appearing on taskbar, since Win32 apps can use ITaskbarList to create custom taskbar "badges".
I'm aware this is definitely confusing though, and might not be what you'd expect!
Have you tried the ITaskbarList API? Are you still interested in instead using the UWP badges? We appreciate your feedback and it helps us prioritize what to work on next!
Hi @andrewleader
thanks for getting back to me this quickly :)
Yes, I'm aware of ITaskbarList API and WPF also makes creating an own taskbar badge quite easy with the TaskbarItemInfo API. Two points why I would still welcome the team to add full UWP Badge support to non-UWP projects:
WinUI Desktop is about enabling Win32 apps to ship with the modern Windows 10 UI/UX. Thus, Win32 apps should have full access to the new Windows 10 Shell elements introduced by UWP to help in unifiying the app experience across the different Windows App models (Win32 and UWP).
The icing on the cake would be if you guys would also enable current Desktop Bridge apps (MSIX packaged desktop apps) to provide a native Windows 10 Shell experience to their users. I'd be fine with this support only arriving for WinUI Desktop apps though as I can imagine your team being quite busy with the upcoming launch of Windows 10X.
If enabled for current MSIX packaged desktop apps, developers should be able to either use the existing ITaskbarList API (or equivalent in WPF) to create custom badges if needed, or use the UWP Badge API to create a familiar Badge experience for Windows 10 users.
Thanks Felix, that's excellent feedback! Really well articulated. We'll let you know if/when we have any updates.
@andrewleader
I tested out a MSIX packaged desktop app on the new Windows 10X emulator to see how UWP Badge API support is currently looking like and I'm happy to report that badges show up in both the taskbar and the new Start menu!
and a closer look:
(TestAppWpf.... is the name of my Win32 app packaged as a MSIX.)
I will use full UWP badge support in the Windows 10X shell as another argument why it would be nice to have the same level of support (taskbar + start menu) for our MSIX desktop apps/WinUI Desktop apps on Windows 10 😁
@marb2000 @andrewleader This seems like a fitting issue for Project Reunion (extended to all Windows apps - UWP and Win32).
@Felix-Dev, yep, this sounds like a Windowing project Reunion thing.
Most helpful comment
Hi @andrewleader
thanks for getting back to me this quickly :)
Yes, I'm aware of ITaskbarList API and WPF also makes creating an own taskbar badge quite easy with the TaskbarItemInfo API. Two points why I would still welcome the team to add full UWP Badge support to non-UWP projects:
WinUI Desktop is about enabling Win32 apps to ship with the modern Windows 10 UI/UX. Thus, Win32 apps should have full access to the new Windows 10 Shell elements introduced by UWP to help in unifiying the app experience across the different Windows App models (Win32 and UWP).
The icing on the cake would be if you guys would also enable current Desktop Bridge apps (MSIX packaged desktop apps) to provide a native Windows 10 Shell experience to their users. I'd be fine with this support only arriving for WinUI Desktop apps though as I can imagine your team being quite busy with the upcoming launch of Windows 10X.
If enabled for current MSIX packaged desktop apps, developers should be able to either use the existing ITaskbarList API (or equivalent in WPF) to create custom badges if needed, or use the UWP Badge API to create a familiar Badge experience for Windows 10 users.