-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Ensure fractional DPI is avoided in HW GTK renderer #14403
Conversation
@Mergifyio backport release/stable/5.0 |
✅ Backports have been created
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
The build 101839 found UI Test snapshots differences: Details
|
…5.0/pr-14403 fix: Ensure fractional DPI is avoided in HW GTK renderer (backport #14403)
GitHub Issue (If applicable): closes #14402, fixes #14250
PR Type
What kind of change does this PR introduce?
Due to GuardBand, the rendering of fractional scales is misbehaving terribly
What is the new behavior?
We now fall back to whole scales instead.
Copilot Summary
🤖 Generated by Copilot at edcf4e5
Fix UI rendering bug on GTK with fractional DPI. Use
GetNativeDpi()
to get the correct DPI value for the render surface inGtkDisplayInformationExtension.cs
.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):