hardcodet / wpf-notifyicon

NotifyIcon (aka system tray icon or taskbar icon) for the WPF platform
MIT License
830 stars 130 forks source link

UX discrepancy in latest Windows 11 22H2 Moment 2 (build 1343) with Tool Tip Text #95

Closed AliveDevil closed 1 month ago

AliveDevil commented 1 year ago

Actual behavior: image

While it should look like: image

The misbehaving application uses

<tb:TaskbarIcon ToolTipText="{x:Static local:Localization.AssemblyProduct}"

as static tool tip text, without any other properties set.

Going to investigate here and provide further comment.

Lakritzator commented 1 year ago

Isn't that the same as https://github.com/hardcodet/wpf-notifyicon/issues/65 ?

AliveDevil commented 1 year ago

Unfortunately, no. In current Windows 22621.1265 this looks like: image

AliveDevil commented 1 year ago

So basically, the "current" general availability release works as expected - any tool tip text looks the same.

The issue came up with users on the current Windows 11 22H2 Release Preview channel (22621 build 1343) mentioning that all other applications support Microsofts "refreshed" tray area, while this application fails back to pre Windows 11 era tool tips for whatever reason.

AliveDevil commented 1 year ago

The official Windows 7 notification icon sample works just fine.

https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/winui/shell/appshellintegration/NotificationIcon

AliveDevil commented 1 year ago

What a stupid solution that is.

image

Works now, though 🤷‍♂️