Page 1 of 1
Linux Ubuntu/Lite OS: Hide Display problem
Posted: Thu Jan 29, 2026 4:54 pm
by Juan Carlos
When I use the function
HideDisplay() the game is hidden/minimized in the bar but when I click to show the window game, appears a black screen but in this case the game is active because hovering the mouse over the buttons displays the graphics, and pressing "exit game" correctly displays the exit screen. With Hollywood 10 and other game mine this problem in this same system don't happen.
Re: Linux Ubuntu/Lite OS: Hide Display problem
Posted: Fri Jan 30, 2026 10:28 am
by Juan Carlos
Yes, the problem with the
HideDisplay() and
ShowDisplay() is in Hollywood 11, because I have reinstalled Hollywood 10, and the problem does not exist.
Re: Linux Ubuntu/Lite OS: Hide Display problem
Posted: Sat Jan 31, 2026 3:21 pm
by airsoftsoftwair
Can you provide an
MCVE? Also, which Ubuntu version are you using?
Re: Linux Ubuntu/Lite OS: Hide Display problem
Posted: Sun Feb 01, 2026 4:03 pm
by Juan Carlos
This is the easy example:
Code: Select all
Function p_Teclado(msg)
Switch(msg.action)
Case "OnKeyDown":
If msg.key=" "
p_Oculta()
EndIf
EndSwitch
EndFunction
SetFont(#SANS, 36)
SetFontColor(#YELLOW)
SetFontStyle(#ANTIALIAS)
TextOut(#CENTER, #CENTER, "TEST")
Function p_Oculta()
HideDisplay()
EndFunction
Function p_DesOculta()
SetFont(#SANS, 36)
SetFontColor(#YELLOW)
SetFontStyle(#ANTIALIAS)
TextOut(#CENTER, #CENTER+50, "BACK TO THE TEST")
EndFunction
InstallEventHandler({OnKeyDown=p_Teclado, ShowWindow=p_DesOculta})
Repeat
WaitEvent
Forever
And the bug is on my Linux machine with:
Linux 5.14.0-oem(x86_64) Ubuntu 20.04.6 LTS
Re: Linux Ubuntu/Lite OS: Hide Display problem
Posted: Sat Feb 07, 2026 1:36 pm
by airsoftsoftwair
Thanks for the
MCVE but I'm afraid I can't reproduce the problem. I've tested your
MCVE on Ubuntu 20.04 LTS on x86_64. I start your script, press the SPACE key, the display is hidden. Then I click the app's icon in the Ubuntu dock to show the window again. The window opens up and still shows the text "TEST ... BACK TO THE TEST". Seems to work fine for me on Ubuntu 20.04...
Re: Linux Ubuntu/Lite OS: Hide Display problem
Posted: Sun Feb 08, 2026 12:00 pm
by Juan Carlos
airsoftsoftwair wrote: ↑Sat Feb 07, 2026 1:36 pm
Thanks for the
MCVE but I'm afraid I can't reproduce the problem. I've tested your
MCVE on Ubuntu 20.04 LTS on x86_64. I start your script, press the SPACE key, the display is hidden. Then I click the app's icon in the Ubuntu dock to show the window again. The window opens up and still shows the text "TEST ... BACK TO THE TEST". Seems to work fine for me on Ubuntu 20.04...
Perhaps the problem is in the LiteOS it hasn't been updated for several days, as if this Ubuntu-derived Linux were dead, and Hollywood 11 needs some new component that Hollywood 10 not needs, as also happen me with Hollywood 11 on my Windows 7.
Thank you for your answer.