microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.3k stars 675 forks source link

AnnoatatedScrollBar tooltip not dismissing #9726

Open HO-COOH opened 3 months ago

HO-COOH commented 3 months ago

Describe the bug

AnnoatatedScrollBar tooltip not dismissing, even after the it is destroyed.

This is similar to #9671 but worse. #9671 ColorPicker's tooltip will dismiss after the ColorPicker destroyed. This does not, and this will actually cause multiple tooltips to be created, and all of them dangling on the screen. 🤣

Steps to reproduce the bug

  1. Open WinUI3 Gallery, go to AnnoatatedScrollBar page
  2. Drag the bar down, so it create a tooltip, move the mouse out of the window. Now the tooltip become dangling and will not dismiss.
  3. Go to other pages, go back to AnnoatatedScrollBar page, do the same thing, and you will get the second dangling tooltip.

Expected behavior

No response

Screenshots

https://github.com/microsoft/microsoft-ui-xaml/assets/42881734/3f771486-e2a6-47f5-b94f-e3eca9c74480

NuGet package version

WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001

Windows version

Windows 10 (1809): Build 17763

Additional context

No response

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.