mojira.dev
MC-241862

It sometimes requires multiple keyboard inputs to change values on sliders

When using sliders with keyboards, it can take 2-4 presses to change the value.

Expected:
Using arrow keys to on sliders should immediately change values

Linked issues

Attachments

Comments 5

I can confirm this issue exists. Here are some extra details regarding this problem.

The Bug:

Multiple keyboard inputs are sometimes required in order to change the values of setting sliders.

Steps to Reproduce:

  • Navigate to the "Video Settings" menu.

  • Click on any settings slider, for example, the "Brightness" slider.

  • Use the arrow keys on your keyboard to change the value of this slider.

  • Take note as to whether or not multiple keyboard inputs are sometimes required in order to change the values of setting sliders.

Observed Behavior:

Multiple keyboard inputs are sometimes required in order to change the values of setting sliders.

Expected Behavior:

Multiple keyboard inputs would not be required in order to change the values of setting sliders.

A bit of background as to why this happens:

In the game, each slider bar has a total of one hundred and fourty two pixels (not including the slider) to move before it reaches the other end. (Showcased below from Aseprite)

[media]

With that said, when you have a setting such as "Brightness" which has 100 total values (0/Moody to 100/Bright) this means the extra 42 pixels still need to be registered when moving the bar one pixel at a time. This is why you end up having multiple key presses needed to move the slider from one value to the next.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19 and 22w24a.

Moesh

(Unassigned)

Confirmed

Platform

Normal

Accessibility, UI

1.17.1, 1.18 Pre-release 4, 1.18.1, 1.18.2, 22w15a, ..., 23w14a, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w33a

Retrieved