Re: [hatari-devel] Big bug in the SDL UI

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 24/06/2015 04:42, Eero Tamminen a écrit :
Hi,

On keskiviikko 24 kesäkuu 2015, Nicolas Pomarède wrote:
Here's the sequence to reproduce it :
   - open system dialog
   - click on the "c" in "prefetch" and don't move your mouse anymore
-> at this point, SDLGui_FindObj is called for the system dialog object
(len=45), which toggles the prefetch choice.

   - press "enter" key to go back to main menu
-> then SDLGui_FindObj is called again immediately for the main dialog
object (len=21) with the same X/Y position as in the system dialog. Why
does it do that ?

So here SDLGui_FindObj will think that the "no reset" text of the main
dialog was clicked, which is not the case, and the dialog "the emulated
system must be reset to apply these changes" will not be displayed ;((

I didn't check what the code does, but I cannot reproduce user
visible symptoms of above problem.

That dialog is showed *only* if you DO have "No reset" selected and
Hatari determines that activating your change requires emulation
reset.

as stated above, this is random ; my change should require a reset, so the confirmation dialog not showing depending on where I clicked in the "Prefetch mode, slower" text is a bug.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/