mojira.dev
MC-313488

Mouse wheel hotbar behavior is inconsistent while using a spyglass

Short description of the issue:
Mouse wheel hotbar actions behave erratically and inconsistently while viewing through a spyglass.

Steps to reproduce the issue:
1. Put a spyglass in your hotbar.
2. Hold right-click to enter the spyglass view.
3. Scroll the mouse wheel while still using the spyglass.
4. Release right-click to exit spyglass view.

Expected result:
The mouse wheel should either be ignored while using the spyglass, or scroll the hotbar consistently with the same direction and behaviour as normal gameplay.

Actual result:
The hotbar changes are inconsistent.
Sometimes one scroll notch takes effect after exiting the spyglass.
Sometimes multiple scrolls do nothing.
Sometimes the selection jumps unexpectedly, such as wrapping from slot 9 back to slot 1.
Scroll direction may also appear reversed in some cases.
I have not found a reliable fixed rule to trigger each variant.

Additional notes:
This bug was discovered in Minecraft 26.2 Vanilla.
Hotbar scrolling works normally when not using the spyglass.
Platform: Windows

Environment

Tested on Windows, vanilla (no mods). Originally found in 26.2

Comments 0

No comments.

ersdfgjf

(Unassigned)

Unconfirmed

26.3

Retrieved