Skip to content

Conversation

@firetech
Copy link

Without this, and scaling set to 200%, back/forward and media key indicators were huge, misaligned, and with their contents mostly outside of their circle, and the window switch list was tiny.

Not sure if this is the cleanest implementation, but the different alignment calculations and other factors made it hard to make a common solution in one place.

@firetech
Copy link
Author

firetech commented May 30, 2025

This needs more work. I've noticed not all windows are affected by the scaling the same way. As it it currently, e.g. Firefox and Gnome Terminal are fixed by this, but the positioning of the back/forward indicators in Discord and VS Code is wrong (the indicator appearance in those apps is, however, fixed by this).

EDIT: Fixed by the commit below.

firetech added 2 commits June 27, 2025 15:34
Without this, and scaling set to 200%, back/forward and media key
indicators were huge, misaligned, and with their contents mostly outside
of their circle, and the window switch list was tiny.
Some windows (e.g. Discord and VS Code) apply the display scaling
strangely, and they also don't care which display they are on (only
using the scaling of the primary monitor). This caused misaligned
back/forward indicators even in single-monitor scenarios.

To fix this, all indicators are now drawn in the global context
(Main.layoutManager.uiGroup) instead, actually removing some complexity.
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.

1 participant