[Scummvm-tracker] [ScummVM] #10741: GUI: Add mousewheel support to the "Unknown game variant" window

Thierry Crozat trac at scummvm.org
Thu Oct 11 09:02:15 CEST 2018


#10741: GUI: Add mousewheel support to the "Unknown game variant" window
--------------------------+----------------------
  Reporter:  raziel-      |      Owner:  digitall
      Type:  enhancement  |     Status:  closed
  Priority:  normal       |  Component:  GUI
Resolution:  fixed        |   Keywords:
      Game:               |
--------------------------+----------------------

Comment (by criezy):

 This actually was not completely an oversight. I remember playing with
 this when working on bug #10641 and handling scrolling with the mouse
 wheel in the ScrollContainerWidget, while working well in the case of the
 unknown games dialog, was causing a strange behaviour in cases where the
 container contains other widgets that also use the mouse wheel, such as
 the options dialog (for example the graphics tab if the ScummVM window is
 small enough). The issue was that as we scroll the cursor may end up on
 such a widget and suddenly we are no longer scrolling the container but
 for example changing the graphics mode. And I was not sure how to handle
 this properly. Because at the time I was focused on the behaviour in the
 options dialog (fixing other bugs there) rather than the benefits for the
 unknown games dialog, I dismissed the idea of trying to get scrolling to
 work with the mouse wheel.

 I think it is a good idea to allow using the mouse wheel to scroll, and I
 just wanted to indicate the potential impact it might have in other
 places.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10741#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list