Skip to content

Conversation

@leolost2605
Copy link
Member

When using fractional scaling actor sizes, margins, monitor geometry, etc. are already in logical units, i.e. with the scale applied so manually multiplying with the scale again will result in it being applied twice.

In the future this will probably be the only mode (e.g. GNOME doesn't support per monitor scaling for its Shell UI without 'scale-monitor-framebuffer' because they argue it's not worth the effort given that it will be not needed in the future: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1864) which will then let us remove all our custom scale handling but until then this introduces no regressions while improving the behavior for fractional scale enabled.

Fixes #2412

@leolost2605 leolost2605 requested a review from a team November 22, 2025 13:06
@lenemter lenemter merged commit 8f27f4c into main Nov 24, 2025
6 checks passed
@lenemter lenemter deleted the leolost/fix-fractional-scaling branch November 24, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multitasking View is oversized with fractional scaling

3 participants