Mojira Archive
MC-250486

Error saving GUI scale option when toggling fullscreen while fullscreen resolution is changed

The bug

When following a sequence of steps involving toggling fullscreen on and off while changing the fullscreen resolution, the following message is logged multiple times:

Error saving option GUI Scale: DynamicException[Value 5 outside of range [0:3] Optional[5]]

I stumbled upon this randomly, and am unsure if this exact sequence is the only cause of the issue.

How to reproduce

  1. Navigate to Options -> Video Settings
  2. Ensure the Fullscreen Resolution slider is set as far left as possible
  3. Toggle Fullscreen on
  4. Set the GUI scale to the highest possible (not Auto)
  5. Toggle Fullscreen off
  6. Set the Fullscreen Resolution slider as far right as possible
  7. Toggle Fullscreen on
  8. Set the Fullscreen Resolution slider as far left as possible
  9. Toggle Fullscreen off
    The above error message is logged in the game log multiple times

Fixed

[Mod] markderickson

[Mojang] Gegy

2022-04-21, 11:51 PM

2023-03-02, 08:20 AM

2023-03-01, 12:46 PM

4

3

Confirmed

Important

UI

22w16b - 1.19.4 Pre-release 222w16b, 22w17a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19, 1.19.3, 23w06a, 1.19.4 Pre-release 2

1.19.4 Pre-release 3