dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.04k stars 1.17k forks source link

Keyboard navigation to a Hyperlink doesn't show the tooltip #4673

Closed SamBent closed 3 years ago

SamBent commented 3 years ago
  1. Run (revised) sample app attached to #4612.
  2. Press TAB until focus arrives on the Hyperlink labelled "This is a Hyperlink with a Tooltip" (look for the focus adorner).
  3. Wait for the tooltip to appear

    Actual behavior: The tooltip never appears.

    Expected behavior: The tooltip appears after 5 seconds.

By contrast, move the mouse over the Hyperlink - the tooltip appears after 5 seconds.

Keyboard navigation should show the tooltip on a Hyperlink (or any FrameworkContentElement), just as it does on a FrameworkElement.

ryalanms commented 3 years ago

Fixed by @SamBent's change.

SamBent commented 3 years ago

Fixed by the tooltip work in 6.0-preview7.