[Scummvm-tracker] [ScummVM :: Bugs] #13019: ZVISION: ZGI: Switching to windowed mode changes the config file’s last_window_width/height values to 640x480 respectively.
ScummVM :: Bugs
trac at scummvm.org
Mon Oct 18 03:07:03 UTC 2021
#13019: ZVISION: ZGI: Switching to windowed mode changes the config file’s
last_window_width/height values to 640x480 respectively.
-------------------+------------------------------
Reporter: macca8 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: ZVision
Version: | Resolution:
Keywords: | Game:
-------------------+------------------------------
Description changed by macca8:
Old description:
> It seems that, when switching to window mode, the ZVISION engine (at
> least in ZGI) doesn’t respect any arbitrary last_window_width/height
> values that may be set in the Config file.
>
> This includes default values based on desktop resolution (e.g. 840x630
> for a 1920x1080 screen, with a fullscreen desktop resolution of
> 1680x1050), and any arbitrary values created by the user, either by
> manually changing the Config file’s values or resizing a window by
> dragging its borders.
>
> In this case, the window created is resized to a 640x480 resolution, and
> these values passed to the Config file’s last_window_width/height
> settings.
>
> Any previous values are lost, and can only be restored by dragging a
> window - including a ZGI window - to an appropriate size, or, after
> exiting the game, by amending the Config file directly (after applying
> the fixes in PR 3400*).
>
> However, even though the ZGI window can be resized by dragging its
> borders, and these values are passed to the Config file, the change will
> only stick until the next time the game enters windowed mode, when the
> window again reverts to the 640x480 resolution.
>
> In determining the best solution here, I guess it depends on why the
> engine currently defaults to a window size of 640x480 (on a 1920x1080
> screen), rather than create a window of the designated size.
>
> Tested on an Intel Mac running macOS 10.11.6, using OpenGL graphics mode.
> Affects all current ScummVM builds: 2.5.0 releases, 2.5.1pre, 2.6.0git.
>
> *Please note that this issue occurs independently of the fixes addressed
> by [https://github.com/scummvm/scummvm/pull/3400 PR 3400], which (as at
> Oct 17) are currently only available in 2.6.0git.
New description:
It seems that, when switching to window mode, the ZVISION engine (at least
in ZGI) doesn’t respect any arbitrary last_window_width/height values that
may be set in the Config file.
This includes default values based on desktop resolution (e.g. 840x630 for
a 1920x1080 screen, with a fullscreen desktop resolution of 1680x1050),
and any arbitrary values created by the user, either by manually changing
the Config file’s values or resizing a window by dragging its borders.
In this case, the window created is resized to a 640x480 resolution, and
these values passed to the Config file’s last_window_width/height
settings.
Any previous values are lost, and can only be restored by dragging a
window - including a ZGI window - to an appropriate size, or, after
exiting the game, by amending the Config file directly (after applying the
fixes from PR 3400*).
However, even though the ZGI window can be resized by dragging its
borders, and these values are passed to the Config file, the change will
only stick until the next time the game enters windowed mode, when the
window again reverts to the 640x480 resolution.
In determining the best solution here, I guess it depends on why the
engine currently defaults to a window size of 640x480 (on a 1920x1080
screen), rather than create a window of the designated size.
Tested on an Intel Mac running macOS 10.11.6, using OpenGL graphics mode.
Affects all current ScummVM builds: 2.5.0 releases, 2.5.1pre, 2.6.0git.
*Please note that this issue occurs independently of the fixes addressed
by [https://github.com/scummvm/scummvm/pull/3400 PR 3400], which (as at
Oct 17) are currently only available in 2.6.0git.
--
--
Ticket URL: <https://bugs.scummvm.org/ticket/13019#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list