[GH-ISSUE #1377] [chat] tellraw suggest_command links do nothing when clicked #401

Closed
opened 2026-11-02 15:38:48 +07:00 by bsakaguchi · 0 comments
Owner

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

Tested both explicit singleplayer modes at 83fa14e51b89eab728b8e233e9e5d95296bef93d.

Reproduce:

  1. /tellraw @s {"text":"CLICK TO SUGGEST","click_event":{"action":"suggest_command","command":"/say clicked"}}
  2. Press T, then click the message.

Expected: the chat input becomes /say clicked; it should not execute automatically.

Actual: input stays empty in both modes.

Evidence: two fresh pairs, .local/singleplayer-audit/chat-{c,d}/click-events-*/result.json and click-component.png. Clicking a generated invalid-item error at the same coordinates populates the old-mode input, validating the click fixture. Threaded error links also fail, consistent with #1372's component flattening. Native 26.3 wire capture native-chat-click-reference/chat-components.jsonl preserves this command's suggestion event.

Hypothesis: component decoding omits click events even in old mode; threaded chat also flattens all component metadata.

Acceptance: a tellraw suggestion event survives command construction, delivery and chat rendering, and clicking it updates the input in both modes.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1377 Tested both explicit singleplayer modes at `83fa14e51b89eab728b8e233e9e5d95296bef93d`. Reproduce: 1. `/tellraw @s {"text":"CLICK TO SUGGEST","click_event":{"action":"suggest_command","command":"/say clicked"}}` 2. Press T, then click the message. Expected: the chat input becomes `/say clicked`; it should not execute automatically. Actual: input stays empty in both modes. Evidence: two fresh pairs, `.local/singleplayer-audit/chat-{c,d}/click-events-*/result.json` and `click-component.png`. Clicking a generated invalid-item error at the same coordinates populates the old-mode input, validating the click fixture. Threaded error links also fail, consistent with #1372's component flattening. Native 26.3 wire capture `native-chat-click-reference/chat-components.jsonl` preserves this command's suggestion event. Hypothesis: component decoding omits click events even in old mode; threaded chat also flattens all component metadata. Acceptance: a tellraw suggestion event survives command construction, delivery and chat rendering, and clicking it updates the input in both modes.
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#401
No description provided.