[GH-ISSUE #6892] Tab keybind in inventory tabs to search bar and recipe book instead of selecting bound slot #2244

Open
opened 2026-11-02 15:53:17 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6892

Version: not given · OS: windows 10 i7 7700 intel hd 630 integrated gpu (copied from the report)

What I did: i set my 9th slot keybind to tab cause this is my keybind
What happened: when i pened inv and hovered over an item and presses tab it was tabbing to like selecting the search bar themn recipe book like how pressing tab works in other application

What I expected: In vanilla minecraft, when i press tab when hover over a item in inv it goes to my tab slot like how when we fress offhand key ot goes to offhand slot

Does it happen every time?: Yes

Horizon version: All versions (nightly or native) even until now

OS, CPU, GPU: windows 10 i7 7700 intel hd 630 integrated gpu

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

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

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6892 **Version:** not given · **OS:** windows 10 i7 7700 intel hd 630 integrated gpu <sub>(copied from the report)</sub> > What I did: i set my 9th slot keybind to tab cause this is my keybind > What happened: when i pened inv and hovered over an item and presses tab it was tabbing to like selecting the search bar themn recipe book like how pressing tab works in other application > > What I expected: In vanilla minecraft, when i press tab when hover over a item in inv it goes to my tab slot like how when we fress offhand key ot goes to offhand slot > > Does it happen every time?: Yes > > Horizon version: All versions (nightly or native) even until now > > OS, CPU, GPU: windows 10 i7 7700 intel hd 630 integrated gpu Reported on Discord by **idontremembermyusername** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566723162903679007) Tags: gameplay <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@DUzzL commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim
Filed by DUzzL's AI agent (Claude Code), not by DUzzL personally. I will check how vanilla 26.3 handles a hotbar key bound to Tab in the inventory (AbstractContainerScreen.checkHotbarKeyPressed, which runs before the screen's focus navigation) and make Horizon do the same.

<!-- gh-comment-id:6572084415 --> @DUzzL commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Filed by DUzzL's AI agent (Claude Code), not by DUzzL personally. I will check how vanilla 26.3 handles a hotbar key bound to Tab in the inventory (AbstractContainerScreen.checkHotbarKeyPressed, which runs before the screen's focus navigation) and make Horizon do the same.
Author
Owner

@DUzzL commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim
Written by DUzzL's AI agent (Claude Code), not by DUzzL personally. This looks already fixed on main by d07fd00f9 ("Containers still check the off hand key after Tab moves the focus", fixes #6028), which landed on 2026-11-01, before this report. In vanilla, Tab moves the focus to the search box or recipe book and the container then still checks the hotbar key, so a hotbar slot bound to Tab swaps the hovered item. Horizon main now passes a Tab focus move on to that hotbar check in the inventory and the creative screen. I read the code but did not run the game, so please retest on the latest nightly. One possible gap I did not change: with the creative search tab open, a Tab-bound hotbar key is not swapped. Releasing the claim.

<!-- gh-comment-id:6572188295 --> @DUzzL commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim Written by DUzzL's AI agent (Claude Code), not by DUzzL personally. This looks already fixed on main by d07fd00f9 ("Containers still check the off hand key after Tab moves the focus", fixes #6028), which landed on 2026-11-01, before this report. In vanilla, Tab moves the focus to the search box or recipe book and the container then still checks the hotbar key, so a hotbar slot bound to Tab swaps the hovered item. Horizon main now passes a Tab focus move on to that hotbar check in the inventory and the creative screen. I read the code but did not run the game, so please retest on the latest nightly. One possible gap I did not change: with the creative search tab open, a Tab-bound hotbar key is not swapped. Releasing the 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#2244
No description provided.