#7101 closed defect (fixed)
GUI: Hovered-over button doesn't highlight after a modal dialog closes
Reported by: | salty-horse | Owned by: | |
---|---|---|---|
Priority: | low | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
(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.
Ticket imported from: bugs/7101.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
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.
comment:3 by , 9 years ago
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → GUI |
---|
Pull request at https://github.com/scummvm/scummvm/pull/744