ShowDisplay() problem

Report any Hollywood bugs here
Post Reply
djg
Posts: 27
Joined: Wed Feb 12, 2020 10:37 pm

ShowDisplay() problem

Post 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()
User avatar
airsoftsoftwair
Posts: 5856
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ShowDisplay() problem

Post 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
Post Reply