Opened 16 years ago

Closed 16 years ago

Last modified 6 years ago

#4340 closed defect (fixed)

GUI: Glitch when closing menu after hovering on option

Reported by: salty-horse Owned by: sev-
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

Using latest svn.

1) Launch ScummVM 2) Click "Options" 3) Move the mouse over an option until the text gets a green highlight. 4) Press ESC to close the menu.

Result: The highlighted text, including various elements of the option widget, will "bleed" onto the surface beneath the menu.

Ticket imported from: #2791868. Ticket imported from: bugs/4340.

Change History (5)

comment:1 by salty-horse, 16 years ago

Owner: set to SF/tanoku

comment:2 by eriktorbjorn, 16 years ago

Right now, Dialog::close() seems to close the dialog first, and then it does the _mouseWidget and releaseFocus() bit. I think the problem goes away if you do them first and close the dialog afterwards, but I'm not confident enough about it to commit that right away.

comment:3 by sev-, 16 years ago

That was correct assumption. I committed the fix.

comment:4 by sev-, 16 years ago

Owner: changed from SF/tanoku to sev-
Resolution: fixed
Status: newclosed

comment:5 by digitall, 6 years ago

Component: GUI
Note: See TracTickets for help on using tickets.