dotnet/winforms

Keyboard tooltip of toolStripDropDown item keeps displaying when tab to other control

Opened this issue · 0 comments

.NET version

.NET 10 with 10.0.100-alpha.1.24573.1 build

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, still repro in .NET 6.0/7.0/8.0/9.0

Issue description

Keyboard tooltip of toolStripDropDown item keeps displaying when tab to other control:

Image

ToolTipIssue.mp4

Steps to reproduce

  1. Create Winforms .NET app with toolStrip and button added
  2. In toolStrip, add ToolStripDropDownButton, add toolStripMenuItem for ToolStripDropDownButton
  3. Set toolStrip's TabStop property to True
  4. Focus on toolStripMenuItem, set its AutoToolTip property to True
  5. Build and run app
  6. Press down to expand ToolStripDropDownButton - it will focus on toolStripMenuItem with its keyboard tooltip displayed
  7. Press enter to collapse ToolStripDropDownButton, tab to another control: button

Test app: WinFormsApp15.zip