RoboCup-SPL/GameController3

HiDPI scaling move parts of the UI outside the window

Opened this issue · 1 comments

sigurg commented

Hi Arne,
I noticed an issue with HiDPI scaling on Linux.
When the GDK_DPI_SCALE environment variable is set (in my case to 1.25), the UI is scaled up, but window size does not change accordingly, which moves part of the UI outside of the visible window area. This makes it impossible to click the start button, since the window cannot be resized:
scaling-issue

A quick workaround would be to add unset GDK_DPI_SCALE to the start script.
This would make the gamecontroller usable, but is obviously not ideal, since the UI will not be scaled and could end up rather small.

Best,
Jens

i think the user should not be prevented from resizing the window. i've added some text which will cause the content to be of a dynamic height.

another workaround would be to allow scrolling. not ideal but i think better than unsetting GDK_DPI_SCALE.

for now, you can try using the tab key to get to the start button. of course that requires you to know how many times to press tab.