-
Notifications
You must be signed in to change notification settings - Fork 987
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
NotifyIcon.Icon updates not displayed in Notifications in Windows 11 #12373
Comments
sorry if i missed tags i don't do this very often this is a BUG i want to report this as a bug. |
@Olina-Zhang can repro this issue? |
@JeremyKuhne yes, we can repro this issue in Win11 OS, please check below details: In Win10 machine (.NET 6.0, .NET 8.0, .NET 9.0, .NET 10.0 and .NET Framework 4.8.1 all are the same result): Win10-testresult.mp4In Win11 machine (.NET 6.0, .NET 8.0, .NET 9.0, .NET 10.0 and .NET Framework 4.8.1 all are the same result): Win11-testresult.mp4 |
I see you got the same result. Is this a bug or an intended change? |
@Olina-Zhang can you check the AzDO instance to see if they have a bug there already tracking this on the Windows side? |
No AzDo Windows bug related this issue exists. |
Try to use Shell_NotifyIcon simulation, but in win11, the notification message cannot pop up.
|
@elixss On win11, it does not support changing the tray icon. Please see the sample program for details. |
.NET version
.NET 8
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, .NET 6, 7 and 8 on Windows 10.
Issue description
Hello!
I stumbled accross some sort of bug.
When using the NotifyIcon class and setting an icon, the notifications sent by that NotifyIcon using ShowBalloonTip don't match if that icon was updated.
This only happens on Windows 11. I tested it on various machines, 3 Windows 10 machines and 3 windows 11 machines, one of them Windows 11 machines was 24H2. all windows 10 were 22H2.
Steps to reproduce
I created a repo for that! https://github.com/elixss/NotifyIconTest
Clone it, run it and compare: on windows 10 the icons will match from notifications and tray, on windows 11 they won't.
The text was updated successfully, but these errors were encountered: