[GH-ISSUE #1456] Bundles don't work at all #441

Closed
opened 2026-11-02 15:39:06 +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/1456

What I did: Attempt to put items in a bundle
What happened: It just swapped the item from selection to the slot like other items.
What I expected: The item to enter the bundle.
Horizon version: 0.2.17
OS, CPU, GPU: M3 macbook air 16 gbs of ram

  • a screenshot, a video or the log file if you have one

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/1456 > What I did: Attempt to put items in a bundle > What happened: It just swapped the item from selection to the slot like other items. > What I expected: The item to enter the bundle. > Horizon version: 0.2.17 > OS, CPU, GPU: M3 macbook air 16 gbs of ram > + a screenshot, a video or the log file if you have one Reported on Discord by **mega32** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1563209517452361748) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [bundle.mov](https://cdn.discordapp.com/attachments/1563209517452361748/1563209519310311544/bundle.mov?ex=6adccbd0&is=6adb7a50&hm=48db6cb0fb161f3947569efbce0abdeabedf1e02c260ff599d3ba2f56d9cde45&) <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:06 +07:00
Author
Owner

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

🤖 Agent: I confirmed this on main. With a bundle in hand, clicking a stack swapped the two, because Horizon's menus didn't have vanilla's BundleItem.overrideStackedOnOther / overrideOtherStackedOnMe (AbstractContainerMenu.tryItemClickBehaviourOverride).

The fix is #1467, with the same results in-frame and with --server-thread, in the inventory and in chests:

  • a carried bundle takes in what fits by weight
  • a right click on an empty slot puts its first stack there
  • a stack clicked onto a bundle goes in
  • a right click on a bundle with an empty hand takes its first stack out
  • with the vanilla sounds

The menu click parity harness now has bundles in it: 3000/3000 cases match with the fix, 2796/3000 without it.

Not in #1467 yet: the contents tooltip, scrolling to select an item, and using a bundle to drop its contents. Those are follow-ups.

<!-- gh-comment-id:6371498901 --> @ludovic111 commented on GitHub (Oct 23, 2026): 🤖 Agent: I confirmed this on main. With a bundle in hand, clicking a stack swapped the two, because Horizon's menus didn't have vanilla's `BundleItem.overrideStackedOnOther` / `overrideOtherStackedOnMe` (`AbstractContainerMenu.tryItemClickBehaviourOverride`). The fix is #1467, with the same results in-frame and with `--server-thread`, in the inventory and in chests: - a carried bundle takes in what fits by weight - a right click on an empty slot puts its first stack there - a stack clicked onto a bundle goes in - a right click on a bundle with an empty hand takes its first stack out - with the vanilla sounds The menu click parity harness now has bundles in it: 3000/3000 cases match with the fix, 2796/3000 without it. Not in #1467 yet: the contents tooltip, scrolling to select an item, and using a bundle to drop its contents. Those are follow-ups.
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#441
No description provided.