[Scummvm-tracker] [ScummVM :: Bugs] #16666: GUI: ScummVM does not correctly restore the window size if it's closed when maximized
ScummVM :: Bugs
trac at scummvm.org
Sat Apr 11 06:25:33 UTC 2026
#16666: GUI: ScummVM does not correctly restore the window size if it's closed when
maximized
-----------------------+---------------------
Reporter: antoniou79 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: GUI
Version: | Resolution:
Keywords: | Game:
-----------------------+---------------------
Comment (by macca8):
On macOS, the maximized state doesn't persist after a maximized window is
closed, so I'm not sure how much of this relates to Windows, but hopefully
it may help.
For me, this issue occurs because window_maximized=true isn't reset to
false when the window is closed, which forces ScummVM to target the wrong
dimensions when creating the next window (i.e. window_maximized_w/h).
Having said that, there's been a change in the config file as to where
these incorrect settings are stored.
Previously, these settings were stored as window_maximized_w/h dimensions
(and locked window_maximized=true, which denied access to last_window_w/h
dimensions), but now it changes last_window_w/h dimensions and resets
window_maximized to false.
The config changes occurred between 2026.1.0 & 2026.2.0 (at least early
February).
--
Ticket URL: <https://bugs.scummvm.org/ticket/16666#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list