Skip to content

Custom GUIs stop working until restarting the game when hiding the menu bar via "Hide Menu Bar" option in context menu (not when hiding via CTRL + ALT + C) #1236

@Keksuccino

Description

@Keksuccino

Description:

When using FancyMenu v3.6.4 on Minecraft 1.20.1, custom GUI screens and certain custom elements stop working only when the menu bar is hidden via Menu Bar > Customization > Hide menu bar.

🐛 Issue Details:

  • The button to open a custom GUI reacts (hover and click sounds), but the screen does not change.
  • No errors appear in logs or in-game.
  • The same button does work when the menu bar is hidden using the CTRL + ALT + C shortcut.
  • modpack_mode remains set to false in options.txt, so it is not the cause.
  • No loading requirements are set on the button or layout.
  • This bug also causes some custom elements to stop working entirely after hiding the menu bar through the UI—until the game is restarted.

🧪 Findings:

  • The issue seems linked to the "Are you sure?" dialog shown when hiding the menu bar via the menu.
  • This dialog might be interfering with internal state or element activation.
  • Using the keyboard shortcut to hide the menu bar does not trigger this bug.

✅ Expected Behavior:

Custom GUI buttons and custom elements should function the same whether the menu bar is hidden via UI or via the shortcut.


Steps to Reproduce:

  1. Create a custom GUI with a button that opens it.
  2. Open Minecraft with FancyMenu 3.6.4.
  3. Hide the menu bar using Menu Bar > Customization > Hide menu bar.
  4. Try activating the button – nothing happens.
  5. Now restart and repeat using CTRL + ALT + C instead – the button works fine.

Suggested Fix:
Investigate if the "Are you sure?" confirmation dialog or related logic is altering the behavior/state of the FancyMenu system in a way that breaks UI interaction.


Reporter: jellyfish boi
CC: @Keksuccino
Report Source: https://discord.com/channels/704163135787106365/1401460651649532015

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions