mojira.dev
MC-165610

The villager trade scroll bar reaches the bottom too early

In Custom Villagers summoned with lots of trades, the scroll bar reaches the bottom way too early. It seems this is caused by a related issue (MC-147819) which was patched in 1.14.1, but it seems that this patch simply capped the scroll bar at the bottom rather than fixing the root problem. (That it just goes down too fast and too much)

The command I used is stored in lotsoftrades.txt (attached because it exceeds the character limit) for if you want to try.

Note: This appears to be a purely visual bug, as when scrolling halfway using the mouse cursor, the trade window scrolls halfway down as expected; only the scroll bar is in an incorrect position.

Linked issues

Attachments

Comments 3

Confirmed to be still in both the Latest Release (1.15.2) and Latest Snapshot (20w19a)

I've also added a bit more information to help fix the bug.

Confirmed to still be in 1.16 Pre-release 1

Can confirm in 21w03a.

Skelepound

(Unassigned)

Confirmed

Platform

Low

UI

gui, gui-scrollbar, rendering

1.14.4, 19w46b, 1.15.2, 20w19a, 1.16 Pre-release 1, 1.16.3, 21w03a, 1.16.5

Retrieved