mojira.dev
MC-311000

Toggling the "Allow Commands" option in the World Options menu no longer enables/disables other buttons right away

The bug

In 26.3-snapshot-5 and earlier, the “Edit Game Rules…” and “Game Mode” buttons in the World Options were enabled only when the “Allow Commands” option was set to ON. When setting it to OFF, both options were disabled.

In 26.3-snapshot-6 and later, these options no longer match the state of the “Allow Commands” button. Instead, you must press “Apply Changes,” then go back into the World Options screen again. This is annoying and also makes it less clear that the state of these buttons is tied to the state of the “Allow Commands” option.

How to reproduce

  1. Open a world without commands enabled

  2. Go to World Options

  3. Enable commands

  4. Change your game mode to creative

Expected result

Enabling commands should enable the game mode button

Observed result

The button is not enabled until you enable commands, apply changes, then return to the same menu again.

Linked issues

Attachments

Comments 3

It’s effect 26.3-pre-3 and 26.3-rc-1.

Now, the “Edit Game Rules…“ button is not enabled or disabled until you enable or disable commands, apply changes, then return to the same menu again.

26.3-pre-3.gif
26.3-rc-1.gif

@GetSoftwares I’ve reported this separately: MC-311791

tryashtar

Fantastime

Confirmed

Platform HC

Normal

UI

26.3 Snapshot 8

26.3 Snapshot 10

Retrieved