dotnet/winforms

Setting AutoEllipsis property as true, tooltip still appears after running project when no ellipsis is shown

Open

#5527 aperta il 25 ago 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C# (922 fork)batch import
help wanted

Metriche repository

Star
 (4100 star)
Metriche merge PR
 (Merge medio 14g 22h) (56 PR mergiate in 30 g)

Descrizione

  • .NET Core Version: .Net 6.0.100-rc.1.21417.19

  • Have you experienced this same bug with .NET Framework?: Yes

More info:

  1. This issue can also repro on .Net Framework project.
  2. This issue can also repro on .Net 3.1 and .Net 5.0.

Minimal repro:

  1. Extract the “WinFormsApp3.zip” and open it in VS. WinFormsApp3.zip
  2. Build and run this application.
  3. Move the mouse hover over button1 and button2, then observe the form.

Actual behavior: It is incorrect behavior, when setting AutoEllipsis(Enables the automatic handing of text that extends beyond the width of the button) as true, but the texts don't beyond the width of button1 and button2. Tooltip still appears when moving the mouse hover over button1 and button2. e111x Untitled customer_issueupdate

Below is the correct behavior, when setting AutoEllipsis as true, tooltip appears when moving the mouse hover over button3. ex

Expected behavior: Tooltip doesn’t appear when moving the mouse hover over button.

Guida contributor