[Scummvm-tracker] [ScummVM :: Bugs] #13054: MACOS: OPENGLSDL: Maximizing a window doesn’t set SDL_WINDOW_MAXIMIZED flag.
ScummVM :: Bugs
trac at scummvm.org
Wed Jun 8 06:07:12 UTC 2022
#13054: 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 macca8):
Just to confirm. I'm not seeing any change in behaviour following your
latest commits, using 2.6.0pre1 on macOS 10.11.6.
I tested with a brand new config file, with no games installed, and
manipulated the Launcher window using the green maximize button
exclusively.
To view the config file when the window is maximized, I move the cursor to
the bottom of the screen to reveal the Dock, then select the Finder, which
slides the Launcher window off the screen.
Whether this has any effect on the window_maximized value, I don't know,
but its value at this time is still false, even though
last_window_width/height show 1680 x 1050 respectively.
If I toggle the green button again to return to normal windowed mode, the
window is correctly restored with L_W_W/H values of 840 x 630. If,
however, I quit while the window is still maximized, L_W_W/H retain the
values of 1680 x 1050.
Upon restart, the app launches in windowed mode as expected, but its size
is adjusted to 1660 x 925 (the new L_W_W/H values).
The window_maximized value remains false throughout, and the only other
window-related entries appearing in the config file are the
last_window_width/height entries.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13054#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list