Re: [hatari-devel] Hatari screen dialog regression

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


Von meinem iPhone gesendet

> Am 13.08.2025 um 02:12 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> 
> Hi,
> 
>> On 12.8.2025 22.51, Thomas Huth wrote:
>> Am Mon, 11 Aug 2025 02:33:05 +0300
>> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>>> IMHO "Recording" (audio, video & screenshots) should be its own dialog,
>>> which would also leave space for improving the current "Hatari screen"
>>> layout.
>> Maybe yes ... but then we also need to figure out another layout for the
>> main dialog again...
>>> I think it would be too much GUI/code refactoring (needs main dialog
>>> layout change too etc) to be done before 2.6.1 release though.
>> Full ack. I think your current patch is fine for 2.6.1, could you commit it?
> 
> Pushed (with updated documentation).
> 
> I don't think there are any release blockers left?
> 
> 
>    - Eero
> 
> PS. I have already started working on some items that will go in after release is done:
> * Fixes for several virtual INF file deficiencies around "--tos-res"
> * Generalized autostart attribute for all relevant Hatari options
> * Splitting Recording related items to its own GUI dialog (no started)
> 

There has already been a window size check in SDLGui_DoDialogExt():
if (pSdlGuiScrn->h / sdlgui_fontheight < dlg[0].h)
{
	Log_Printf(LOG_ERROR, "Screen size too small for dialog!\n");
	return SDLGUI_ERROR;
}

Why are we adding another (portability breaking) check? The existing one works and is portable by using the actual window size instead of hard coding some values. 


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