[PR #5874] [MERGED] Open the on-screen keyboard in pointer menu mode #6531

Closed
opened 2026-11-03 06:22:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5874
Author: @Joansitoh
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/5642-osk-pointer-mode


📝 Commits (1)

  • 0f3ee35 Open the on-screen keyboard in pointer menu mode

📊 Changes

1 file changed (+68 additions, -9 deletions)

View changed files

📝 crates/horizon-client/src/game/pad_menu.rs (+68 -9)

📄 Description

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

What

With Menu Navigation = Pointer, the on-screen keyboard never opened (chat, signs, text fields). Horizon extra, no vanilla counterpart.

  • pad_auto_keyboard no longer requires focus mode: the decision is a pure fn osk_auto_opens (pad in use, 3+ polls, chat/sign, not open, not dismissed).
  • In pointer mode, A (South, not the right-click West) on a text field now opens the keyboard after the click, like focus mode does (field_at hit test of the cursor against the field targets).
  • Updated the stale doc comment.

Clicking the on-screen keys with the pointer stays a follow-up.

Tested

Unit tests for the auto-open decision and the field hit test (inside/outside/non-field). Not driven live with horizon-ctl. No parity harness covers the pad/keyboard; the affected ones listed below run in CI's parity job.

Part of #5642

pr_ready (tools/pr_ready.py --quick --base upstream/main): Scope 1 file, +68 −9 ✅ · Public tree ✅ · Python tests 515 ✅ · rustfmt ✅ · clippy ✅ · tests horizon-client 1676 ✅ · doc tests ✅ · Parity: 34 affected (none about the pad/keyboard), run by CI's parity job.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5874 **Author:** [@Joansitoh](https://github.com/Joansitoh) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/5642-osk-pointer-mode` --- ### 📝 Commits (1) - [`0f3ee35`](https://github.com/horizon-rust/horizon/commit/0f3ee35c21109871d43714acbb6e8829699121c3) Open the on-screen keyboard in pointer menu mode ### 📊 Changes **1 file changed** (+68 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/pad_menu.rs` (+68 -9) </details> ### 📄 Description > 🤖 Opened by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. ## What With Menu Navigation = Pointer, the on-screen keyboard never opened (chat, signs, text fields). Horizon extra, no vanilla counterpart. - `pad_auto_keyboard` no longer requires focus mode: the decision is a pure fn `osk_auto_opens` (pad in use, 3+ polls, chat/sign, not open, not dismissed). - In pointer mode, A (South, not the right-click West) on a text field now opens the keyboard after the click, like focus mode does (`field_at` hit test of the cursor against the field targets). - Updated the stale doc comment. Clicking the on-screen keys with the pointer stays a follow-up. ## Tested Unit tests for the auto-open decision and the field hit test (inside/outside/non-field). Not driven live with horizon-ctl. No parity harness covers the pad/keyboard; the affected ones listed below run in CI's parity job. Part of #5642 **pr_ready** (`tools/pr_ready.py --quick --base upstream/main`): Scope 1 file, +68 −9 ✅ · Public tree ✅ · Python tests 515 ✅ · rustfmt ✅ · clippy ✅ · tests horizon-client 1676 ✅ · doc tests ✅ · Parity: 34 affected (none about the pad/keyboard), run by CI's parity job. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:22:29 +07:00
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#6531
No description provided.