Page 1 of 1

ShowDisplay() problem

Posted: Sat Nov 22, 2025 4:58 pm
by djg
Hi,

On Ubuntu Linux here, when I call HideDisplay() and then call ShowDisplay(), the display will hide but not show again and the program will hang.
It does work on Raspberry Pi OS and AmigaOS 4, unless you unhide the program yourself before the program gets to it.

Code: Select all

	DebugPrint("hiding in 2 seconds")
	Wait(2, #SECONDS)
	HideDisplay()
	DebugPrint("showing in 2 seconds")
	Wait(2, #SECONDS)
	ShowDisplay()
	DebugPrint("done")
	WaitLeftMouse()

Re: ShowDisplay() problem

Posted: Fri Nov 28, 2025 8:58 pm
by airsoftsoftwair
Right, this is fixed now, thanks for reporting!

Code: Select all

- Fix [Linux]: Calling ShowDisplay() on a hidden display caused the program to freeze on newer Linux distributions