mojira.dev
MC-95855

GUI with automatic scaling does not resize proportionally

The bug

When you resize the game vertically the GUI is not proportional to the window size. The attached screenshots show the GUI with automatically scaling where "GUI size after window resize (1.11).png" shows the GUI after the window height was reduced by maybe 10 pixels.

How to reproduce

  1. Start Minecraft

  2. Set Options...Video Settings...GUI Scale: Auto

  3. Decrease the game window height slightly vertically (continue decreasing the height in case the issue does not occur directly)
    ❌ The GUI size changes drastically

Linked issues

Attachments

Comments 2

Please include a detailed description of the expected behaviour vs the actual behaviour.

Same at version 1.14.4. After pressing F11 to go from fullscreen to window mode, then either accidentally or intentionally pressing the border of the window will change and LOCK the GUI Scale at max scale up. Only quitting and relaunching Minecraft will revert the scale back to normal (Auto).

marcono1234

(Unassigned)

Confirmed

UI

gui, scale, window

Minecraft 16w02a, Minecraft 1.11, Minecraft 1.12 Pre-Release 1, Minecraft 1.12.2, Minecraft 17w50a, ..., 1.16.2 Release Candidate 1, 1.16.2, 1.20.2, 1.21.4, 25w02a

Retrieved