[GH-ISSUE #1336] [no-server-thread] Chest and furnace screens stay open after their block is removed #367

Closed
opened 2026-11-02 15:38:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1336

Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d, render distance 4.

  1. With explicit --no-server-thread, open a chest or furnace at (2,100,0).
  2. Remove that block while the screen is open (setblock 2 100 0 air).
  3. Wait 40 ticks.

Expected: the container screen closes when its block is gone.

Actual: old mode keeps the container screen and the obsolete block position. The authoritative block query confirms there is no block entity. --server-thread correctly returns to Playing for both blocks. No item-loss claim is based on this test.

Hypothesis: old mode does not recheck the backing container's validity each tick. This removal failure is distinct from the range check missing in both modes.

Acceptance: removing the open container closes its screen and prevents clicks on the obsolete window.

Evidence: .local/singleplayer-audit/sequence-d/menu-invalid-*/, tools/singleplayer_sequence_audit.py --case menu-invalid (removed chest/furnace subcases). No matching old-singleplayer report found.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1336 Tested commit: `83fa14e51b89eab728b8e233e9e5d95296bef93d`, render distance 4. 1. With explicit `--no-server-thread`, open a chest or furnace at `(2,100,0)`. 2. Remove that block while the screen is open (`setblock 2 100 0 air`). 3. Wait 40 ticks. Expected: the container screen closes when its block is gone. Actual: old mode keeps the container screen and the obsolete block position. The authoritative block query confirms there is no block entity. `--server-thread` correctly returns to Playing for both blocks. No item-loss claim is based on this test. Hypothesis: old mode does not recheck the backing container's validity each tick. This removal failure is distinct from the range check missing in both modes. Acceptance: removing the open container closes its screen and prevents clicks on the obsolete window. Evidence: `.local/singleplayer-audit/sequence-d/menu-invalid-*/`, `tools/singleplayer_sequence_audit.py --case menu-invalid` (removed chest/furnace subcases). No matching old-singleplayer report found.
Author
Owner

@rdbtCVS commented on GitHub (Oct 23, 2026):

--no-server-thread will eventually be removed so this can be ignored i guess.

<!-- gh-comment-id:6354099563 --> @rdbtCVS commented on GitHub (Oct 23, 2026): --no-server-thread will eventually be removed so this can be ignored i guess.
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#367
No description provided.