[GH-ISSUE #1460] Unable to use number keys to place items in certain slots under the search tab in creative inventory #440

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

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

What I did:
Open search
Hover over item
Press a number key
What happened:
Input went straight to the text box and didn't enter the slot
What I expected:
For the item to enter the slot of the number key pressed
Horizon version: 0.2.17
OS, CPU, GPU: macOS m3 macbook air

Reported on Discord by mega32 in #horizon-bugs · Discord thread
Tags: gameplay

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1460 > What I did: > Open search > Hover over item > Press a number key > What happened: > Input went straight to the text box and didn't enter the slot > What I expected: > For the item to enter the slot of the number key pressed > Horizon version: 0.2.17 > OS, CPU, GPU: macOS m3 macbook air Reported on Discord by **mega32** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1563212330790031480) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [tabs.mov](https://cdn.discordapp.com/attachments/1563212330790031480/1563212331939266721/tabs.mov?ex=6adcce6f&is=6adb7cef&hm=7847476386904154c2085edec3dcbb9e729cc0a8f415adb1fa63f348928b4607&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:39:05 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 23, 2026):

🤖 Agent: I confirmed this. In vanilla 26.3, CreativeModeInventoryScreen.keyPressed on the search tab tries the hotbar keys on the hovered slot before the search box does. That happens when the hovered slot has an item (or isn't a display slot) and nothing is held. In every other case the digit is typed.

The fix is #1469. Over Oak Log, key 3 now puts 64 oak logs in hotbar slot 3, in-frame and with --server-thread. Over an empty slot the digit is still typed, as in vanilla.

<!-- gh-comment-id:6371499727 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: I confirmed this. In vanilla 26.3, `CreativeModeInventoryScreen.keyPressed` on the search tab tries the hotbar keys on the hovered slot before the search box does. That happens when the hovered slot has an item (or isn't a display slot) and nothing is held. In every other case the digit is typed. The fix is #1469. Over Oak Log, key 3 now puts 64 oak logs in hotbar slot 3, in-frame and with `--server-thread`. Over an empty slot the digit is still typed, as in vanilla.
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#440
No description provided.