HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

TextBlockAttach.AutoTooltip broken

Open GF-Huang opened this issue 2 years ago • 2 comments

Describe the bug

The tooltip is not displayed as expected.

https://user-images.githubusercontent.com/4510984/165857862-58d715ab-1deb-4240-9dab-9c09a61f7d23.mp4

AutoTooltipDemo.zip

Steps to reproduce the bug

See the video and reproduce by the demo.

Expected behavior

The tooltip should not display when the TextBlock text is full display.

Screenshots

No response

NuGet package version

HandyControls (Custom version) 3.3.11

IDE

Visual Studio 2022

Framework type

.Net 5.0

Windows version

May 2021 Update (19043)

Additional context

No response

GF-Huang avatar Apr 28 '22 22:04 GF-Huang

After downgrade to 3.3.8.1, all case works well.

https://user-images.githubusercontent.com/4510984/165937866-b37a18cc-079c-4d36-b92e-ae950e8fb642.mp4

GF-Huang avatar Apr 29 '22 11:04 GF-Huang

I found that this commit (7bf0a1ef3aef8adeac02300c72cd50e2ef4d036e) breaking it.

image

After change DataGridCell.HorizontalAlignment from Stretch to Left, issue solved.

GF-Huang avatar Apr 29 '22 18:04 GF-Huang