[Scummvm-tracker] [ScummVM :: Bugs] #13054: BACKENDS: MACOS: OPENGLSDL: Maximizing a window doesn’t set SDL_WINDOW_MAXIMIZED flag.
ScummVM :: Bugs
trac at scummvm.org
Sun Apr 26 15:43:59 UTC 2026
#13054: BACKENDS: MACOS: OPENGLSDL: Maximizing a window doesn’t set
SDL_WINDOW_MAXIMIZED flag.
-------------------+-----------------------------
Reporter: macca8 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Port: Mac OS X
Version: | Resolution:
Keywords: | Game:
-------------------+-----------------------------
Comment (by criezy):
Update with current behaviour I see with current master, SDL 2.30.9, and
macOS 15.7.4:
1. Maximize the ScummVM window using the green button in the title bar.
The windows takes the full screen (with menu bar not visible).
2. Quit ScummVM
The config file indicates window_maximized=true and fullscreen=false.
3. Start ScummVM, it almost takes the full screen, but with the menubar
visible.
- If I quit at this point the config file still indicates
window_maximized=true.
- But if I don't quit and click the green button to unmaximize the window,
it instead maximise it to use the full screen and hide the menu bar. At at
that point if I click again the green button to unmaximize it I go back to
the previous state where it used almost the full screen but with menubar
visible.
Interestingly, if I quit at this point the config file still has
window_maximized=true.
So for me there is an issue between how SDL handle the
SDL_WINDOW_MAXIMIZED flag that does not match what macOS does.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13054#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list