[GH-ISSUE #7531] Inventory sorting should account for bundles and handled clicks #3284

Closed
opened 2026-11-03 04:07:15 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @vvnikita74 on GitHub.

Problem

The inventory sort extra plans ordinary clicks as swaps. In the real menu, clicking an item on a bundle inserts it into the bundle, so the resulting inventory can differ from the plan. Sorting also does nothing with a carried stack, and a handled sort-button press can leave its release to the regular inventory handler, causing a visible flicker.

Expected behavior

  • Sorting should preserve every item and component while accounting for bundle click behavior.
  • When bundles are present, fill them with whole, incomplete stacks of different item kinds when they fit; leave full stacks outside.
  • A sort-button release should not trigger another inventory click.
Originally created by @vvnikita74 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7531 Originally assigned to: @vvnikita74 on GitHub. ## Problem The inventory sort extra plans ordinary clicks as swaps. In the real menu, clicking an item on a bundle inserts it into the bundle, so the resulting inventory can differ from the plan. Sorting also does nothing with a carried stack, and a handled sort-button press can leave its release to the regular inventory handler, causing a visible flicker. ## Expected behavior - Sorting should preserve every item and component while accounting for bundle click behavior. - When bundles are present, fill them with whole, incomplete stacks of different item kinds when they fit; leave full stacks outside. - A sort-button release should not trigger another inventory click.
Author
Owner

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

/claim

<!-- gh-comment-id:6583367837 --> @vvnikita74 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#3284
No description provided.