dotnet / wpf

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

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

Closed SamBent closed 3 years ago

SamBent commented 3 years ago

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.

SamBent commented 3 years ago

Fixed by the tooltip work in 6.0-preview7.