GUI: Allow scrolling on closed drop down fields

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
luziferius
Inserter
Inserter
Posts: 35
Joined: Thu Jun 01, 2017 12:59 pm
Contact:

GUI: Allow scrolling on closed drop down fields

Post by luziferius »

TL;DR
Allow using the "scroll up" and "scroll down" action (typically mapped to the mouse wheel) on closed drop down fields to switch between entries.

What?
When the mouse is placed on a closed drop down field, allow using the mouse wheel to switch the currently selected item.
Scroll up to select the previous item in the list, scroll down to select the next item in the list.

Why?
Because it is convenient to just use the scroll wheel on the mouse to get a quick overview over the effects of the possible choices.
For example: In the New Game GUI, you could scroll over the map generator preset drop down menu to switch between presets. You can see at a glance, how each preset affects the currently opened tab.

Currently:
  1. Move the mouse to the drop down field
  2. Click it
  3. Possibly scroll the large list of choices
  4. Move the mouse down to the next item
  5. Click the desired item
  6. Repeat from 1.
Proposed:
  1. Move the mouse over the drop down field
  2. Slowly scroll down/up using the mouse wheel. Each scroll event selects the previous/next item in the list.
Most GUI toolkits used on Linux desktops implement this, but I think, Windows does not.
I’ve recorded a small screencast video, using 0ad RTS as an open source reference game implementing the described logic.
The recording below is from the New Game screen. I want to find a map I like layout-wise or visually.
In the first seconds I use the map selector drop down menu to switch between maps. This is the same procedure as currently required in Factorio.
Then I start using the mouse wheel on the same drop-down. I can keep the cursor at it’s position and just scroll and watch the preview image change.
Video hidden here
Edit: If the video does not play nicely, you can download the webm video and use a local player, or directly open the URL using VLC player.
Last edited by luziferius on Sat May 18, 2019 3:28 pm, edited 2 times in total.

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: GUI: Allow scrolling on closed drop down fields

Post by Koub »

I don't know if it's something on my side, but the video is 1'15" of motionless black, with no sound. :D
[Edit] Works with Firefox, Must have some plugin that blocks it onChrome I guess, sorry for the disturbance.
Koub - Please consider English is not my native language.

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: GUI: Allow scrolling on closed drop down fields

Post by DaleStan »

It works for me, in Chrome, Waterfox, and Edge, but not in IE. Wikipedia suggests that Safari and IE both require third-party plugins.

Post Reply

Return to “Ideas and Suggestions”