<HTML><BODY>Hi! Try Neverhood demo. It crashes if scummvm use Modern theme but Classic is ok.<br><br><br>Субота, 11 студзеня 2014, 19:12 +01:00 ад Johannes Schickel <lordhoto@gmail.com>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        <div id="">
        



    






        

        
        
        
        
        

        

        
        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
         
        <div id="style_13894640100000000104" class="mr_read__body">
                <base target="_self" href="https://e.mail.ru/">
                
                        <div id="style_13894640100000000104_BODY">On 01/11/2014 05:54 PM, Marcus Comstedt wrote:<br>
> Johannes Schickel <<a href="sentmsg?compose&To=lordhoto@gmail.com">lordhoto@gmail.com</a>> writes:<br>
><br>
>> The hack would still be required, because of the implementation of the<br>
>> choosers. It's two different classes,<br>
> But if the theme does not support grid choosers, the class<br>
> SaveLoadChooserGrid should never be instantiated.<br>
><br>
> In fact, it _must_ not be instantiated, because if it is you'll get<br>
> the crash I was talking about.  And if you must make sure not to<br>
> instantiate the class, then what good are additional tests in the<br>
> methods of that class going to do?  They aren't going to be executed<br>
> anyway.<br>
><br>
<br>
The issue is the following: Suppose you start ScummVM in 640x480 (i.e. <br>
hires with grid allowed), open the grid based save/load dialog and then <br>
use hotkeys to switch to 320x240 while the grid dialog is open, then you <br>
get SaveLoadChooserGrid::reflowLayout called with the lowres theme which <br>
doesn't allow a grid based dialog and doesn't have the page widget <br>
defined => crash. That's what the HACK tries to cover.<br>
<br>
// Johannes<br>
<br>
<br>
------------------------------------------------------------------------------<br>
CenturyLink Cloud: The Leader in Enterprise Cloud Services.<br>
Learn Why More Businesses Are Choosing CenturyLink Cloud For<br>
Critical Workloads, Development Environments & Everything In Between.<br>
Get a Quote or Start a Free Trial Today. <br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="sentmsg?compose&To=Scummvm%2ddevel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
</div>
                        
                
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br>
<br>С уважением, Федор Стрижнёв.<br></BODY></HTML>