[Scummvm-tracker] [ScummVM :: Bugs] #12041: GUI: EDIT GAME DIALOG: Selecting <default> for the Graphics Stretch Mode doesn’t revert to default setting.

ScummVM :: Bugs trac at scummvm.org
Mon Jan 4 00:59:36 UTC 2021


#12041: GUI: EDIT GAME DIALOG: Selecting <default> for the Graphics Stretch Mode
doesn’t revert to default setting.
-------------------+---------------------
Reporter:  macca8  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  GUI
 Version:          |  Resolution:
Keywords:          |        Game:
-------------------+---------------------
Description changed by macca8:

Old description:

> This is a follow up to the behaviour resolved in #11744. That report’s
> description targeted pressing Apply, but pressing OK produced similar
> behaviour.
>
> I note that the fix applied involved changes to OptionsDialog::apply()
> exclusively - Graphics Mode & Shaders have also been adjusted - and
> resolved both Apply & OK situations, but only when resetting the global
> <default>.
>
> Current Daily Build: 2.3.0git11719-g8ede0e39ca (Jan 2 2021)
>
> In this case, the action is performed in the Edit Game dialog, where the
> change to <default> is effected by pressing OK. Other than that, the
> behaviour is identical (refer #11744), which includes applying the
> workaround of exiting & relaunching ScummVM to reset the default value.
>
> This issue only exists when the Stretch Mode’s global setting is also
> <default>. If any other value is applied globally, then the game option
> will assume that as its <default> value, which is normal behaviour, even
> when overriding global graphic options. The same is true if the global
> and game option settings are reversed.
>
> Is there any reason why an Apply button can’t be added to the Edit Game
> dialog? I am wondering if it might offer a cleaner way of implementing
> the changes previously applied globally.

New description:

 This is a follow up to the behaviour resolved in #11744. That report’s
 description targeted pressing Apply, but pressing OK produced similar
 behaviour.

 I note that the fix applied involved changes to OptionsDialog::apply()
 exclusively - Graphics Mode & Shaders have also been adjusted - and
 resolved both Apply & OK situations, but only when resetting the global
 <default>.

 Current Daily Build: 2.3.0git11719-g8ede0e39ca (Jan 2 2021)

 In this case, the action is performed in the Edit Game dialog, where the
 change to <default> is effected by pressing OK. Other than that, the
 behaviour is identical (refer #11744), which includes applying the
 workaround of exiting & relaunching ScummVM to reset the default value.

 This issue only exists when the Stretch Mode’s global setting is also
 <default>. If any other value is applied globally, then the game option
 will assume that as its <default> value, which is normal behaviour, even
 when overriding global graphic options. The same is true if the global and
 game option settings are reversed (when returning to the launcher).

 Is there any reason why an Apply button can’t be added to the Edit Game
 dialog? I am wondering if it might offer a cleaner way of implementing the
 changes previously applied globally.

--
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12041#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list