Opened 3 years ago

Closed 3 years ago

#10641 closed defect (fixed)

GUI: Vertical scrollbar buttons don’t work as expected.

Reported by: macca8 Owned by: criezy
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

When pressing a scrollbar button, the expectation is that the screen will scroll until it reaches the end (top or bottom), or the button is released.

Currently, both buttons (up or down) only advance the screen a very small amount (perhaps 1 pixel?) with each click, regardless of how long the button is held down.

Dragging the scrollbar directly works fine.

A second issue affects the appearance of the bottom button only.

When this button is pressed, the arrow points down as expected. However, when the button is released and the cursor moved away, the arrow changes temporarily to the up position (see attached screenshot).

It will stay in this position until either:

  • the cursor moves back over or clicks the button, in which case it will temporarily change back to the down position, or
  • another control (for example, a tooltip) takes the focus away from the button, in which case the arrow returns to the correct down position until the button is pressed again.

Current Daily Build: 2.1.0git3088-gac0e0a5(23 July 2018)

Attachments (1)

Bottom button.png (42.5 KB ) - added by macca8 3 years ago.
Bottom button pointing up.

Download all attachments as: .zip

Change History (3)

by macca8, 3 years ago

Attachment: Bottom button.png added

Bottom button pointing up.

comment:1 by criezy, 3 years ago

Summary: GUI: Graphics tab: Vertical scrollbar buttons don’t work as expected.GUI: Vertical scrollbar buttons don’t work as expected.

Thank you for your report. This is actually not specific to the Graphics tab and I just confirmed that the same behaviour can be seen in the cloud tab and the unknown game dialog as well for example. The game list in the launcher appears to work properly though, so this does not happen for every scroll view either.

comment:2 by criezy, 3 years ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

Clicking on the up or down arrow was indeed only scrolling by 1 pixel. This has now been changed to scroll by the equivalent of one line of text (in commit 211ef61fdf).

Also keeping the up or down arrow pressed was indeed not scrolling further, and this has now been fixed (in commit bd98c6f045).

And finally the down arrow pointer up after releasing the button and moving the cursor away has been fixed in commit 7b0402fbb0.

I believe this covers all the issues you reported.

Note: See TracTickets for help on using tickets.