When I want to scroll through my hotbar in minecraft the item I have selected doesn't change on the first tick of scrolling when the previous scroll tick was in the opposite direction. For example:
Start on item 0 in the hotbar
Scroll up two ticks: item 2 gets selected
Scroll down 1 tick: Nothing happens.
Scroll down 1 more tick: item 1 gets selected
Scroll down 1 more tick: item 0 gets selected.
In the above example I would have expected during step 3 that item 1 would have gotten selected, rather than nothing happening.
It appears the hotbar does not move on a tick of scrolling when the previous tick was in the opposite direction.
I initially thought there might be something weird going on with either my mouse or my OS, however testing multiple apps with scrolling functionality (firefox, gedit, gnome-terminal) they don't have this issue.
This problem appears in both singleplayer and multiplayer worlds, as well as survival and creative.
Comments 9
I tried all four combinations of discrete scrolling and raw input, none of them fixed the issue for me.
I messed around with the settings a little more, setting the scroll sensitivity to a value greater of 1 appears to fix this issue for me. However the default of exactly 1 causes this issue for me. I imagine a quick way to reproduce this on a non-linux system would be to set the scroll sensitivity to 0.99. My guess is there's a floating point off by one error in the code which doesn't appear in Windows, but does show up in Linux.
I have the exact same problem
Running on Linux, Fedora Workstation 36 (Gnome 42 on Wayland), Vanilla Minecraft 1.19
There wasn't such problem on Windows 10
Same problem unresolved, input are detected by other apps, but not on minecraft with the weir mechanic described
I'm on Ubuntu 22.04 with Minecraft Java 1.19.2 and the problem don't occur with the same hardware on Windows 11/Windows 10
Same problem, doesnt occur on windows, my mouse is a G305, on Arch Linux with KDE Plasma 5.26.2 and a 6.0.2-zen1-1-zen 64bit kernel, and a 12900k with an RX6900XT GPU, tested on versions as old as 1.5.2, and as new as the latest as of writing
i also have this issue on Fedora 38 with KDE plasma 5.27.9... this only happens on wayland and doesn't occur on X11... this doesn't only happen on the hotbar though, it happens anywhere in the game and none of the settings in the game fix this... also can confirm for 1.20.4
Check if changing the Mouse Settings "Discrete Scrolling" and "Raw Input" change anything about this issue.