-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
NullReferenceException on ToolTipChanged on Windows 10 #47
Comments
I'm running into the same issue. A workaround I've found for now is don't provide a value for ToolTipText in the XAML. |
I really want to fix this error, but unfortunately I'm having trouble accessing my Windows 10 machine. I have a Mac M1 + Windows 11 ARM, with limited disk space. |
The NRE occurs for me
IDEVisual Studio 2022 Windows VersionWindows 10 Build 19044.2130 (21H2) WindowsAppSDK1.1.5 NuGet Package Version2.0.73 Call Stack
Exception Details
WindowsAppSDK TypePackaged |
I can see something similar happening on my system (also Windows 10) with the WinUI.Windowless example project. However in my case the null reference exception is thrown as soon as it reaches line 231 in TaskBarIcon.ToolTips.cs. This line causes issues:
While debugging I can see The stack trace I get
|
I added a trivial check to WinUI to bypass this area. Please check 74 version on NuGet. |
NRE no longer occurs for me on 74 version. |
Describe the bug
I'm developing on Windows 11 and test my app on Windows 10 21H2.
Everything works fine on Windows 11. However on Windows, my app crashes when I pass the mouse on the icon in the system tray.
Message:
Call stack:
Steps to reproduce the bug
Expected behavior
No crash :) Tooltip should appear.
Screenshots
No response
NuGet package version
2.0.68
Also tried with 2.0.73
Platform
WinUI
IDE
Visual Studio 2022
Windows Version
Windows 10
WindowsAppSDK Version
Other
WindowsAppSDK Type
Packaged
Manifest
No response
Additional context
Windows 10 build 19044.2075 (21H2)
The text was updated successfully, but these errors were encountered: