Skip to content
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

Closing a tooltip opened from keyboard does not raise ToolTipClosing event #4672

Closed
SamBent opened this issue Jun 14, 2021 · 1 comment
Closed
Milestone

Comments

@SamBent
Copy link
Contributor

SamBent commented Jun 14, 2021

  • .NET Core Version: 3.0 and above
  • Windows version: all
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
  • Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? no
  • Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.

Problem description:

  1. Run (revised) sample app attached to ToolTip issues prior to .NET 6.0 #4612
  2. Press TAB repeatedly until focus arrives on the TextBox labelled "TextBox"
  3. Wait for tooltip to appear (and note the ToolTipOpening event is recorded in the ListBox)
  4. Press TAB again

Actual behavior:
Tooltip disappears, but the ToolTipClosing event isn't raised.

Expected behavior:
ToolTipClosing event should be raised (and recorded in the ListBox).

By contrast, move the mouse into the TextBox, wait for the tooltip, then move the mouse upwards away from the TextBox. The ToolTipOpening and ToolTipClosing events are both raised (and recorded in the ListBox).

The ToolTipClosing event should be raised whenever a tooltip closes.

@SamBent
Copy link
Contributor Author

SamBent commented Aug 17, 2021

Fixed by the tooltip work in 6.0-preview7.

@SamBent SamBent closed this as completed Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants