Re: [hatari-devel] Big bug in the SDL UI |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
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.
- Eero