[GH-ISSUE #6704] Command confirmation: pointer stays captured, no doesn't return to the book or dialog, no keyboard #2185

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

Originally created by @4404c on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6704

Originally assigned to: @4404c on GitHub.

🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally.

What happens

Three gaps left in the clicked-command confirmation (#6114, ClientPacketListener.openSendConfirmationWindow):

  • Opened from a book or a dialog that closes, the pointer stays captured, so its buttons can't be clicked. Escape still answers.
  • Answering no returns to nothing: the book or dialog the click left is gone, and what was typed in the dialog with it.
  • Tab, the arrows, Enter and Space don't work its buttons.

What vanilla 26.3 does

openSendConfirmationWindow keeps currentScreen and returns to it on no. DialogScreen.runAction runs the command with the dialog still the screen, so that is the dialog. BookViewScreen.handleClickEvent keeps the book; LecternScreen.closeContainerOnServer closes its screen with the menu, so a lectern doesn't come back. The buttons take focus navigation and Enter or Space like any other screen's.

Plan

Fix the three.

🤖 Generated with Claude Code

Originally created by @4404c on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6704 Originally assigned to: @4404c on GitHub. > 🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally. ## What happens Three gaps left in the clicked-command confirmation (#6114, `ClientPacketListener.openSendConfirmationWindow`): - Opened from a book or a dialog that closes, the pointer stays captured, so its buttons can't be clicked. Escape still answers. - Answering no returns to nothing: the book or dialog the click left is gone, and what was typed in the dialog with it. - Tab, the arrows, Enter and Space don't work its buttons. ## What vanilla 26.3 does `openSendConfirmationWindow` keeps `currentScreen` and returns to it on no. `DialogScreen.runAction` runs the command with the dialog still the screen, so that is the dialog. `BookViewScreen.handleClickEvent` keeps the book; `LecternScreen.closeContainerOnServer` closes its screen with the menu, so a lectern doesn't come back. The buttons take focus navigation and Enter or Space like any other screen's. ## Plan Fix the three. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@4404c commented on GitHub (Nov 2, 2026):

/claim

<!-- gh-comment-id:6567235433 --> @4404c commented on GitHub (Nov 2, 2026): /claim
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#2185
No description provided.