Menu

#7101 GUI: Hovered-over button doesn't highlight after a modal dialog closes

*None
closed-fixed
nobody
None
1
2016-04-20
2016-03-31
No

(This was originally part of bug #7094)

Tested with latest git.

1) Launch ScummVM.
2) Choose "Add Game..."
3) Hover over the (disabled) "About" button in the background. Press "ESC" to close the "Add Game" file browser and go back to the main window.

The "About" button will not be highlighted until the mouse cursor is moved. It should highlight as soon as the "Add Game" dialog is closed.

We should simulate a MOUSEMOVE event when modal dialogs close, so GUI elements will be aware of the current mouse position before it's actually being moved.

Discussion

  • Ori Avtalion

    Ori Avtalion - 2016-04-06
     

    Last edit: Ori Avtalion 2016-04-06
  • Ori Avtalion

    Ori Avtalion - 2016-04-13

    Found another case where elements aren't aware of the current mouse position:

    Hover over a button widget, and press the mouse button. Hover over a second button widget and release the mouse press.

    The second button widget should get a highlight. It doesn't, until the mouse is moved again.

     
  • Ori Avtalion

    Ori Avtalion - 2016-04-20

    The main issue in this bug was fixed by the pull request mentioned above.

    Opened bug #7124 for the mouse press issue.

     
  • Ori Avtalion

    Ori Avtalion - 2016-04-20
    • status: open --> closed-fixed