Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-175431

Pressing F11 without opening an options screen doesn't save change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.15.2, 1.16.2, 20w51a
    • None
    • Windows 10 1903
      Java 1.8.0_242 and 1.8.0_51
    • Confirmed
    • (Unassigned)

      When pressing F11, the Fullscreen option is changed. However, this doesn't get saved to disk, unless you open any options screen and close it (which saves the entire options.txt file).

      This can be fixed by (with Yarn names) adding a call to GameOptions.write() in the onKey method in the Keyboard class.

      A Mixin that does this fix is available at https://github.com/comp500/BorderlessMining/blob/1f4b93d340eb0a97b4d4ad4f72bc316077bedc2c/src/main/java/link/infra/borderlessmining/mixin/F11FixMixin.java.

            Unassigned Unassigned
            comp500 comp500
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: