[ scummvm-Bugs-3523325 ] GUI: Button press graphics not working after subdialog close

SourceForge.net noreply at sourceforge.net
Thu May 3 23:17:30 CEST 2012


Bugs item #3523325, was opened at 2012-05-03 14:17
Message generated for change (Tracker Item Submitted) made by lordhoto
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3523325&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GUI
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Schickel (lordhoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: GUI: Button press graphics not working after subdialog close

Initial Comment:
Linux/amd64
g++ 4.7.0
commit: b96143c1802b619553e476ad7a5a1eedeea0c768
theme: scummmodern

The special pressed button graphics is not always displaying. An easy way to reproduce this is start ScummVM, click on the "Options..." button, close the options dialog and click on the "Options..." button again and hold the mouse key down to avoid the dialog from opening. The button only appears pressed the first time when you click on "Options..." directly after starting ScummVM for me. After closing the dialog I was not able to get the "Options..." button from getting the pressed look.

As far as I can tell the "_lastTime" member of ButtonWidget of the button for "Options..." does not get properly set to 0 again when a the options dialog opens. This might be related, since ButtonWidget::handleTickle disables the pressed state after some time, when "_lastTime" is not 0.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3523325&group_id=37116




More information about the Scummvm-tracker mailing list