Opened 3 months ago

Closed 4 weeks ago

#16532 closed defect (fixed)

MYST3: Resized window dimensions, if any, shouldn't persist after quitting the game

Reported by: macca8 Owned by: macca8
Priority: normal Component: Engine: Myst3
Version: Keywords:
Cc: Game: Myst 3: Exile

Description (last modified by macca8)

4-CD Initial US English Version 1.22 (originally 1.0).

Tested with recent daily master & 2026.1.0 release using arm64(Apple Silicon) build on macOS 15.7.3. See also #16254 for historical context of this issue.

If the existing window dimensions (last_window_width/height) are smaller than the minimum required by the game, then the game overwrites these values with its minimum requirements.

This occurs, for example, if the widescreen mod is enabled and the desktop resolution is less than 1710x1107, when using ScummVM's default 4:3 window dimensions.

With smaller desktop resolutions, the existing (4:3) window width is always smaller than the widescreen mod's minimum 853x480, forcing an overwrite.

However, if the existing window is larger than the minimum required by the game, that window isn't resized, but is created (in windowed mode) the same as if the widescreen mod was disabled.

Currently, any previous window dimensions aren't restored to the config file when quitting the game, so the resized window dimensions (incorrectly) persist after the game quits.

The proper fix here is to store the existing window dimensions when launching the game, and restore them to the config file (if necessary) when quitting the game.

This also helps manage #16253 until that issue can be properly fixed, by restricting any unexpected resizings to this game.

Change History (6)

comment:1 by macca8, 3 months ago

Description: modified (diff)
Summary: MYST3: Resized window dimensions (if any) shouldn't persist after quittingMYST3: Resized window dimensions, if any, shouldn't persist after quitting the game

comment:2 by macca8, 3 months ago

Description: modified (diff)

comment:3 by antoniou79, 3 months ago

So, if understand correctly, the issue is that the ScummVM launcher, after quitting Myst III Exile, maintains (and adopts) any resized (possibly automatically but also even manually set) dimensions of the game window that was just "closed"/quit?

If this is correct, is this specific to Myst 3?
It sounds like it's an issue that does not depend on the game title

comment:4 by macca8, 3 months ago

Thanks for responding. You are correct about the general behaviour (which lephilousophe confirmed as correct in #16254), but perhaps not the specific issue, for which I apologise for not being clear.

Just to clarify, we're only dealing with automatic window resizing in windowed mode. Fullscreen is fine.

The issue is about the Launcher adopting window resizing that's unique to Myst 3, which should not be used outside the game. In this case, I'm referring to the 853x480 window that's intentionally created by the widescreen mod under certain conditions.

This is a significant change in behaviour since the 2.9.1 release (which doesn't have this issue), so may I suggest the following test:

  • set Myst 3 to launch in windowed mode with the widescreen mod enabled.
  • launch the game, then open the config file while the window is still open.
  • compare the last_window_W/H values to the actual window size.
  • return to the launcher, then review the config file's current settings.
  • repeat these steps with various window settings above or below the default 853x480, as necessary.

Please repeat this test, first with the 2.9.1 release, then with any of the current builds.

Hopefully, comparing past and present behaviour may give you a better understanding of how this issue may be resolved.

By the way, my proposed fix is just a suggestion, not necessarily the correct solution.

comment:5 by lephilousophe, 8 weeks ago

This looks like a duplicate of #16254.
I would say WONTFIX.

comment:6 by macca8, 4 weeks ago

Owner: set to macca8
Resolution: fixed
Status: newclosed

With the recent merging of https://github.com/scummvm/scummvm/pull/7346, the Widescreen Mod no longer creates a widescreen window in windowed mode.

While this solution isn't ideal, it does resolve the issue that is the subject of this report.

I'm closing this on the basis that this particular issue is fixed.

Note: See TracTickets for help on using tickets.