CytopiaTeam / Cytopia

:deciduous_tree::house_with_garden::office::evergreen_tree: A city building simulation game
https://www.cytopia.net
GNU General Public License v3.0
1.97k stars 105 forks source link

Borderless mode scales wrong on some displays #1019

Open DanielMowitz opened 2 years ago

DanielMowitz commented 2 years ago

Description

When entering borderless fullscreen through the ingame menu while on my laptop's screen, the window is scaled to a resulution way bigger than the screen itself. Here is a screenshot of all of what I can see:

image

The buttons in the menu are not in the place that they should be, i.e. they activate when the cursor is way below them.

How to reproduce

That's a tough question. I'm running Gnome shell under Wayland with pop shell on top. Additionally, I use a setup with an external monitor which is mounted vertically. The game scales correctly on the external monitor.

As of yet, I was not able to narrow the issue down to any more specific cause.

lizzyd710 commented 2 years ago

Yeah, this probably came about during the UI overhaul. I'll look into how the framework handles this stuff.