[GH-ISSUE #3495] Block outline disappears when opening chat #987

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

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

Version: nightly-2026-10-28-9669600 · OS: Windows 11, Intel i3 12100F, RTX 5060 (copied from the report)

What I did:
point the crosshair at a block, so it gets highlighted with an outline.
while still pointing at that block, open the chat.

What happened: the block outline disappears as soon as I open the chat.

What I expected: the outline should stay visible on the block while the chat is open.
Horizon version: nightly-2026-10-28-9669600
Also on the Nightly? yes
Windows 11, Intel i3 12100F, RTX 5060

Reported on Discord by sumkv 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 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3495 **Version:** nightly-2026-10-28-9669600 · **OS:** Windows 11, Intel i3 12100F, RTX 5060 <sub>(copied from the report)</sub> > What I did: > point the crosshair at a block, so it gets highlighted with an outline. > while still pointing at that block, open the chat. > > What happened: the block outline disappears as soon as I open the chat. > > What I expected: the outline should stay visible on the block while the chat is open. > Horizon version: nightly-2026-10-28-9669600 > Also on the Nightly? yes > Windows 11, Intel i3 12100F, RTX 5060 Reported on Discord by **sumkv** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565187262432677898) Tags: rendering **Attachments** (Discord links expire after a while; the thread keeps them) - [image.png](https://cdn.discordapp.com/attachments/1565187262432677898/1565187262948573184/image.png?ex=6ae3fdbb&is=6ae2ac3b&hm=b1e5c9f7fa04a730449ab5e27d2bf32ad87d1a5ae0fe39943675254a8f3764e1&) - [image.png](https://cdn.discordapp.com/attachments/1565187262432677898/1565187263489511614/image.png?ex=6ae3fdbb&is=6ae2ac3b&hm=eb8de37cb462d0e57ed026c734a4942455bed0c01896332448e0d3582484c704&) <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:43:21 +07:00
Author
Owner

@vvnikita74 commented on GitHub (Oct 29, 2026):

I can't reproduce this on current main (57d4801b). This report is from nightly-2026-10-28-9669600.

Test: crosshair on a block, then the chat opened with T. I compared screenshots with and without the chat open, and the outline is drawn in both. The outline condition in game.rs now follows vanilla's GameRenderer.shouldRenderBlockOutline: the HUD hidden (F1) and whether the player may build, not the open screen.

Could the reporter check again on a current nightly?

<!-- gh-comment-id:6499448851 --> @vvnikita74 commented on GitHub (Oct 29, 2026): I can't reproduce this on current main (57d4801b). This report is from nightly-2026-10-28-9669600. Test: crosshair on a block, then the chat opened with `T`. I compared screenshots with and without the chat open, and the outline is drawn in both. The outline condition in `game.rs` now follows vanilla's `GameRenderer.shouldRenderBlockOutline`: the HUD hidden (F1) and whether the player may build, not the open screen. Could the reporter check again on a current nightly?
Author
Owner

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

🤖 Agent: (written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.)

Fixed by #3161 (merged 2026-10-29, commit ddd1dbdf9, "Keep the block outline while a screen is open"). Game::render required Screen::Playing for the outline, so chat hid it. Main now uses let outline = if !self.ui.hide_gui && self.may_build() (crates/horizon-client/src/game.rs:12145), as vanilla's GameRenderer.shouldRenderBlockOutline, which has no screen check. Your build (nightly 9669600) predates it.

<!-- gh-comment-id:6504523794 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: (written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.) Fixed by #3161 (merged 2026-10-29, commit ddd1dbdf9, "Keep the block outline while a screen is open"). `Game::render` required `Screen::Playing` for the outline, so chat hid it. Main now uses `let outline = if !self.ui.hide_gui && self.may_build()` (`crates/horizon-client/src/game.rs:12145`), as vanilla's `GameRenderer.shouldRenderBlockOutline`, which has no screen check. Your build (nightly 9669600) predates it.
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#987
No description provided.