[GH-ISSUE #5642] On-screen keyboard doesn't work if "Menu Navigation" is set to "Pointer" instead of "Focus". #1757

Open
opened 2026-11-02 15:49:26 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Florendal on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5642

Originally assigned to: @Joansitoh on GitHub.

Steps to reproduce:

  1. Start Horizon Minecraft
  2. Set Menu Navigation to Pointer inside the controller settings
  3. Open the chat

Expected behavior:

The on-screen keyboard should pop up and be usable using the pointer.

Current behavior:

No on-screen keyboard is shown.

Important note:

This whole is related to playing the game with a controller.

Originally created by @Florendal on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5642 Originally assigned to: @Joansitoh on GitHub. Steps to reproduce: 1. Start Horizon Minecraft 2. Set Menu Navigation to Pointer inside the controller settings 3. Open the chat Expected behavior: The on-screen keyboard should pop up and be usable using the pointer. Current behavior: No on-screen keyboard is shown. Important note: This whole is related to playing the game with a controller.
Author
Owner

@Joansitoh commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally.

Cause: pad_auto_keyboard (crates/horizon-client/src/game/pad_menu.rs) only opens the on-screen keyboard when pad_focus_mode() is true, and the Pointer-mode Button::South | Button::West branch never calls pad_open_keyboard() after clicking a text field (only the focus-mode Kind::Field branch does). Everything that operates an open keyboard (buttons, pad_step, stick routing, pad_osk_output) is already independent of the navigation mode. Controller support is a Horizon extra, so there is no vanilla counterpart.

Plan (first slice, Part of #5642): open the keyboard automatically in chat/sign when the pad is in use regardless of the navigation mode (mouse clicks never open it, the condition still requires pad input), and open it when a pad South press lands on a text field in Pointer mode; keep the decision in small pure functions with unit tests. Clicking the on-screen keys with the pointer stays for a follow-up.

<!-- gh-comment-id:6555871422 --> @Joansitoh commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. Cause: `pad_auto_keyboard` (`crates/horizon-client/src/game/pad_menu.rs`) only opens the on-screen keyboard when `pad_focus_mode()` is true, and the Pointer-mode `Button::South | Button::West` branch never calls `pad_open_keyboard()` after clicking a text field (only the focus-mode `Kind::Field` branch does). Everything that operates an open keyboard (buttons, `pad_step`, stick routing, `pad_osk_output`) is already independent of the navigation mode. Controller support is a Horizon extra, so there is no vanilla counterpart. Plan (first slice, `Part of #5642`): open the keyboard automatically in chat/sign when the pad is in use regardless of the navigation mode (mouse clicks never open it, the condition still requires pad input), and open it when a pad South press lands on a text field in Pointer mode; keep the decision in small pure functions with unit tests. Clicking the on-screen keys with the pointer stays for a follow-up.
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#1757
No description provided.