Skip to content

ToolTip shows when owner acquires focus via non-keyboard #4613

Closed

Description

@SamBent
  • .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 sample app attached to ToolTip issues prior to .NET 6.0 #4612.
  2. Click in the TextBox labeled "TextBox".
  3. (optional) wait for ToolTip to appear and disappear (5 sec, 15 sec)
  4. Alt+TAB to another app
  5. Alt+TAB back to the sample
  6. Wait 5 seconds

Steps 4-5 can be replaced by other ways to move focus away from the app, then back to it, e.g.:
4a. Click on app's icon in the system taskbar to minimize the app; 5a. click again to restore the app
4b. Click on another app; 5b. click on sample app's title bar to reactivate it
(etc.)

Actual behavior:
ToolTip appears

Expected behavior:
ToolTip does not appear

ToolTip should display when keyboard navigation (e.g. TAB) moves focus to the TextBox, but not when focus moves by non-keyboard means.

Activity

  1. added
    Accessibility
    Bug
    on Jun 3, 2021
  2. SamBent commented on Aug 17, 2021

    @SamBent
    ContributorAuthor

    Fixed by the tooltip work in 6.0-preview7.

  3. ghost locked as resolved and limited conversation to collaborators on Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityBug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions