Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#4522 closed defect (fixed)

GUI: Incorrect behavior of sliders

Reported by: sev- Owned by: lordhoto
Priority: high Component: GUI
Version: Keywords:
Cc: Game:

Description

I implemented "GUI: Mute All disable volume sliders" FR and it discovered previously unknown bug with inconsistent behavior of slider widget.

In GMM and SCUMM options the behavior is correct, i.e. disabling the widget makes it dimmer. However in our options dialog the filled red part disappears too which is incorrect.

Ticket imported from: #2834250. Ticket imported from: bugs/4522.

Change History (4)

comment:1 by sev-, 15 years ago

This bug is nice to get fixed before the release. Raising priority for keeping the track.

comment:2 by lordhoto, 15 years ago

Fixed with r43172 in trunk.

Just for the logs: It seems the "buffering" of widgets is somehow broken. The "fix" I made, is probably only a 'workaround' for the real problem underneath. I don't have any more time to look into this issue now (nor the motivation for that). Maybe you tanoku have an idea what's wrong. It seems if a widget is set to have buffering it passes "false" to ThemeItem::drawSelf in ThemeEngine::queueDD. That looks strange...

comment:3 by lordhoto, 15 years ago

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

comment:4 by digitall, 6 years ago

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