[Scummvm-tracker] [ScummVM] #10441: GUI: Save/load dialog flickers when repeatedly clicking the list/grid buttons
digitall
trac at scummvm.org
Wed Oct 10 09:19:11 CEST 2018
#10441: GUI: Save/load dialog flickers when repeatedly clicking the list/grid
buttons
---------------------+--------------------
Reporter: bonki | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: GUI
Resolution: | Keywords:
Game: |
---------------------+--------------------
Comment (by digitall):
Have committed code to do the disabling of current view button as commit
9831f6ddd293202984d5d421f24d0078406ef9af.
The flickering is because upon switching the dialog view type, the dialog
closes itself and reopens as the new type. This will always flicker the
main launcher view as this is as expected.
I think the "correct" solution here to solve this would be to refactor the
SaveLoadChooser to not close and reopen, but instead to delete the widgets
and repopulate with the new widgets before triggering a reflow. That would
then not "flash the launcher"...
--
Ticket URL: <https://bugs.scummvm.org/ticket/10441#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list