[GH-ISSUE #4300] F3 debug screen stays accessible on the title screen after leaving a world #1266

Closed
opened 2026-11-02 15:45:33 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4300

Version: nightly-2026-10-30-fdb7288 · OS: not given (copied from the report)

What I did:

  • Created a world.
  • Messed around, pressed f3 to show coordinates, then teleported multiple times to reach the world border.
  • Went outside the world border and explored until the game could not render the chunks/blocks anymore.

What happened:

  • I pressed save and quit.
  • The f3(debug screen) is still on the main menu.
  • Tried turning it on and off. It works.
  • Relaunched the game and pressing f3 still works on the main menu.

What I expected:

  • After leaving a world, debug screen should not be accessible anymore.

Horizon version:

  • nightly-2026-10-30-fdb7288

OS, CPU, GPU:

  • Windows 10 Pro,
  • AMD Ryzen 5 5500 3.60 GHz
  • NVIDIA GeForce GTX 750(2 GB)

Reported on Discord by Eris in #horizon-bugs · Discord thread
Tags: rendering

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4300 **Version:** nightly-2026-10-30-fdb7288 · **OS:** not given <sub>(copied from the report)</sub> > What I did: > - Created a world. > - Messed around, pressed f3 to show coordinates, then teleported multiple times to reach the world border. > - Went outside the world border and explored until the game could not render the chunks/blocks anymore. > > What happened: > - I pressed save and quit. > - The f3(debug screen) is still on the main menu. > - Tried turning it on and off. It works. > - Relaunched the game and pressing f3 still works on the main menu. > > What I expected: > - After leaving a world, debug screen should not be accessible anymore. > > Horizon version: > - nightly-2026-10-30-fdb7288 > > OS, CPU, GPU: > - Windows 10 Pro, > - AMD Ryzen 5 5500 3.60 GHz > - NVIDIA GeForce GTX 750(2 GB) Reported on Discord by **Eris** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565651199703646218) Tags: rendering **Attachments** (Discord links expire after a while; the thread keeps them) - [Outside_the_border.png](https://cdn.discordapp.com/attachments/1565651199703646218/1565651200706347058/Outside_the_border.png?ex=6ae5adce&is=6ae45c4e&hm=a7eafa48af823143847e68d05cfe5b7ebbd83ff833127f3c77d3aaeeebaa6b61&) - [Main_Menu_f3_Bug.mp4](https://cdn.discordapp.com/attachments/1565651199703646218/1565651202224562216/Main_Menu_f3_Bug.mp4?ex=6ae5adcf&is=6ae45c4f&hm=8cd193411fec61a5ec513e4553f195181ed10a270de8813cac3a86ec8fa68fe5&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:45:33 +07:00
Author
Owner

@DenisHumen commented on GitHub (Oct 30, 2026):

🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally.

Withdrawn, no PR from us: after checking, this is vanilla 26.3 behaviour, not a Horizon bug. I read the 26.3 client bytecode (javap):

  • Gui.extractRenderState(DeltaTracker, boolean shouldRenderLevel, boolean gameLoadFinished) calls Hud.extractDebugOverlay outside the shouldRenderLevel (HUD) branch. The only checks are gameLoadFinished and !(screen instanceof DebugOptionsScreen). So the overlay is drawn over the title screen and other menus too.
  • DebugScreenOverlay.extractRenderState only returns early when the game hasn't finished loading, or when the HUD is hidden (F1) and no screen is open. It doesn't check Minecraft.level.
  • DebugScreenEntryList.isOverlayVisible is only changed by toggleDebugOverlay, which only KeyboardHandler.keyPress calls (F3 release, with no level/screen check). Minecraft.disconnect / clearClientLevel don't touch it, and Hud.reset → DebugScreenOverlay.reset only clears the tick/ping/bandwidth chart loggers.

So in vanilla, F3 stays on after "Save and Quit to Title" and can still be toggled on the main menu. Horizon's draw_debug_overlay (drawn after menus, gated on F1 the same way) already matches this. Maintainers can close this as not-a-bug, or keep it if Horizon wants to differ from vanilla on purpose.

<!-- gh-comment-id:6520189585 --> @DenisHumen commented on GitHub (Oct 30, 2026): 🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally. **Withdrawn, no PR from us:** after checking, this is vanilla 26.3 behaviour, not a Horizon bug. I read the 26.3 client bytecode (javap): - `Gui.extractRenderState(DeltaTracker, boolean shouldRenderLevel, boolean gameLoadFinished)` calls `Hud.extractDebugOverlay` outside the `shouldRenderLevel` (HUD) branch. The only checks are `gameLoadFinished` and `!(screen instanceof DebugOptionsScreen)`. So the overlay is drawn over the title screen and other menus too. - `DebugScreenOverlay.extractRenderState` only returns early when the game hasn't finished loading, or when the HUD is hidden (F1) and no screen is open. It doesn't check `Minecraft.level`. - `DebugScreenEntryList.isOverlayVisible` is only changed by `toggleDebugOverlay`, which only `KeyboardHandler.keyPress` calls (F3 release, with no level/screen check). `Minecraft.disconnect` / `clearClientLevel` don't touch it, and `Hud.reset` → `DebugScreenOverlay.reset` only clears the tick/ping/bandwidth chart loggers. So in vanilla, F3 stays on after "Save and Quit to Title" and can still be toggled on the main menu. Horizon's `draw_debug_overlay` (drawn after menus, gated on F1 the same way) already matches this. Maintainers can close this as not-a-bug, or keep it if Horizon wants to differ from vanilla on purpose.
Author
Owner

@levzzz5154 commented on GitHub (Oct 30, 2026):

🤖 Agent: Triage by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally. #4323 is merged: the F3 debug screen no longer shows or toggles on the title screen. Reopen if it still happens on the latest nightly.

<!-- gh-comment-id:6529288991 --> @levzzz5154 commented on GitHub (Oct 30, 2026): 🤖 Agent: Triage by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally. #4323 is merged: the F3 debug screen no longer shows or toggles on the title screen. Reopen if it still happens on the latest nightly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1266
No description provided.