Tooltips not closing for custom render controls
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Issue is seen with .NET6.0, including latest 6.0.401
Issue was not present in .NET framework 4.8
Seen on both Windows 10 and 11.
The attached project demonstrates the issue:
If a custom render control does not draw portions of the area that the control covers, then the tooltip should close when the mouse moves off of the drawn parts, as it did in .NET4.8.
What is observed is that the tooltip stays open as long as the mouse is over the control, including the non-drawn area.
Demonstration: .NET 6.0

Demonstration: .NET 4.8

[WpfApp3.zip](https://github.com/dotnet/wpf/files/9671786/WpfApp3.zip)
Contributor guide
Assessment
This issue has not been assessed yet.