Opened 9 months ago

Closed 6 days ago

#14992 closed defect (worksforme)

Application window GUI not resized on Linux

Reported by: edo9300 Owned by: sev-
Priority: normal Component: Port: Linux
Version: Keywords:
Cc: edo9300 Game:

Description

The window is launched with a fixed 640x400 resolution. Resizing the window won't scale the ui but will instead "zoom" the window while keeping the elements at that fixed resolution, adding black bars on the sizes when the aspect ratio mismatches.
This has been observed since at least the 2.6.x releases, but is still the current behaviour on 2.8.0, run on Artix Linux.

Attachments (2)

image-20240226-191020.png (27.8 KB ) - added by edo9300 9 months ago.
image-20240226-191039.png (46.8 KB ) - added by edo9300 9 months ago.

Download all attachments as: .zip

Change History (5)

by edo9300, 9 months ago

Attachment: image-20240226-191020.png added

by edo9300, 9 months ago

Attachment: image-20240226-191039.png added

comment:1 by tag2015, 8 months ago

I can't reproduce the problem on Ubuntu. Could you please change the "Graphics Mode" to OpenGL in Global Options and see if there is any improvement?

comment:2 by edo9300, 8 months ago

Indeed forcing the graphics mode to OpenGL makes the window properly resize, also tried doing the opposite on Windows (where it properly resized) and setting SDL Surface as graphics mode, and it exhibits this same behaviour. So it's a matter of different default settings.

comment:3 by sev-, 6 days ago

Owner: set to sev-
Resolution: worksforme
Status: newclosed

Yes, "SDL Surface" graphics mode has set of fixed resolutions by design. The only way is to switch the scale factor in the GUI or with Ctrl+Alt+'+'/'-'. Arbitrary window size is a property of "OpenGL" graphics mode only.

Note: See TracTickets for help on using tickets.