[GH-ISSUE #458] [chat] Arrow keys turn the camera while singleplayer chat is open #129

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

Originally created by @LookImEcho-Rick on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/458

What happened

In a singleplayer world, pressing Up or Down with chat open moves the camera up or down instead of behaving solely as chat history navigation.

Reproduction

  1. Open a singleplayer world.
  2. Send a chat message, then reopen chat.
  3. Press or hold the Up and Down arrow keys.

Expected

Up/Down navigate sent message history (or command suggestions when that list is active), without moving the camera.

Investigation

In the local checkout at d5fbe2b7, the chat keyboard handler records held arrow keys and passes them to ChatScreen::key, which already handles message history. The redraw handler also reads those same held keys to rotate the camera unconditionally, including while chat is open.

A local fix is in progress to limit arrow-key camera movement to gameplay. In-game verification is pending; the fix will be submitted after the reporter tests it.

Originally created by @LookImEcho-Rick on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/458 ## What happened In a singleplayer world, pressing Up or Down with chat open moves the camera up or down instead of behaving solely as chat history navigation. ## Reproduction 1. Open a singleplayer world. 2. Send a chat message, then reopen chat. 3. Press or hold the Up and Down arrow keys. ## Expected Up/Down navigate sent message history (or command suggestions when that list is active), without moving the camera. ## Investigation In the local checkout at `d5fbe2b7`, the chat keyboard handler records held arrow keys and passes them to `ChatScreen::key`, which already handles message history. The redraw handler also reads those same held keys to rotate the camera unconditionally, including while chat is open. A local fix is in progress to limit arrow-key camera movement to gameplay. In-game verification is pending; the fix will be submitted after the reporter tests 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#129
No description provided.