fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.48k stars 515 forks source link

ScreenTip is not DPI aware #1165

Closed yordans closed 8 months ago

yordans commented 10 months ago

Ribbon-aligned ScreenTips are not positioned under the ribbon on DPIs different from 100%, e.g. on 125% DPI the ScreenTip is displayed inside the ribbon.

Environment

yordans commented 9 months ago

Hello, when 10.0.4 is planned to be released?

batzen commented 9 months ago

Next weekend.

batzen commented 9 months ago

@yordans Just released it.

yordans commented 9 months ago

@batzen Thank you for letting me know.

yordans commented 8 months ago

Hello, @batzen. I think there is a problem with the fix - the CustomPopupPlacementMethod's arguments are dpi aware and should not be multiplied by the dpiScale. More specifically - popupSize.Height is used when calculating tool tip's above position and should not be multiplied by the dpiScale.

batzen commented 8 months ago

You are totally right. I shouldn't have scaled the popup height.