mojira.dev
MC-158271

The scroll bars within some menus don't reset their positions to the top of the lists when resizing the game window

The Bug:

The scroll bars within some menus don't reset their positions to the top of the lists when resizing the game window.

When scrolling to the bottom of the multiplayer tab in offscreen and then going back to fullscreen the scroll bar is in the position that it should be, but the view goes over the bottom of the screen. (See images below, they speak a lot)

Affected Menus:

Please note that this issue may affect more menus that aren't listed below.

  • Multiplayer menu server list

  • Resource pack menu list

Steps to Reproduce:

  1. Have multiple servers within the multiplayer menu in order to make the scroll bar appear.

  2. Scroll down to the bottom of the list.

  3. Resize your game window and look at the positioning of the scroll bar.

  4. Take note of how the scroll bar within some menus doesn't reset its position to the top of the list when resizing the game window.

Observed Behavior:

The scroll bars don't reset their positions to the top of the lists. This occasionally causes them to appear outside of their boundaries.

Expected Behavior:

The scroll bars would reset their positions to the top of the list.

Linked issues

Attachments

Comments 10

This does not seem to be the case for the world selection menu, there the scroll bar jumps to the top when switching into/from fullscreen mode.

Also, when deleting servers from the bottom of the list, the scroll bar is not reset either, causing the same effect.

Yeah, it only happens in the multiplayer screen/tab whatever you want to call it.

A possible fix would be to use the scrollbar when the window is resized

Still occurring in 1.15.1

Can confirm in 20w51a.

Can also confirm by Deleting servers while scrolled to the bottom

Updated this ticket to clearly state the problem here. The issue with scrolling to the bottom of the list and deleting servers is tracked separately at MC-167167. πŸ˜‰

This ticket relates toΒ MC-232719.

Can confirm in 23w42a

Dirtt1Man

(Unassigned)

Confirmed

UI

1.14.4, 19w42a, 1.15 Pre-release 3, 1.15.1, 1.15.2 Pre-Release 1, ..., 1.19.2, 1.19.3 Pre-release 2, 23w42a, 1.21.1, 24w33a

Retrieved