[Scummvm-tracker] [ScummVM :: Bugs] #12590: MAC OS X: Window getting smaller with each start

ScummVM :: Bugs trac at scummvm.org
Tue May 25 20:43:59 UTC 2021


#12590: MAC OS X: Window getting smaller with each start
-------------------+----------------------------
Reporter:  criezy  |      Owner:  (none)
    Type:  defect  |     Status:  new
Priority:  normal  |  Component:  Port: Mac OS X
 Version:          |   Keywords:
    Game:          |
-------------------+----------------------------
 When starting ScummVM the first time (with a fresh config file), the
 window is bigger than expected with a size of 1120x974. It also has a
 strange aspect ratio (neither 320/200 nor 320/240). And then every time I
 close and reopen ScummVM the window gets twice as small.

 I also noticed that a size (last_window_width and last_window_height) gets
 added to the config file, but I don't know where it comes from (it doesn't
 even have the same aspect ratio than the window has).
 After the first launch, the size in the config file is 504x420, then
 252x210 after the second launch.

 See screenshot where I just start and close ScummVM 3 times without doing
 anything and the window gets smaller and smaller.

 This is on a non-retina macOS X 10.15 laptop with SDL 2.0.9 and current
 code from master. I am using the OpenGL graphics mode and aspect
 correction is off.

 I will try with a more recent SDL version when I have a bit more time.

 I also just noticed while testing to turn on aspect ratio than each time I
 change the aspect ratio (either with the Ctr+Alt+A shortcut, or in the
 Options dialog) the window size gets smaller. So I don't need to close and
 reopen ScummVM to reproduce that issue.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12590>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list