[20 Feb 2008] Bug report: Hollywood3 and borderless windows
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 20 Feb 2008 23:49:43 +0100
Hello,
there seems to be a bug when it comes to borderless windows.
The following code creates a button that should write 1 to stderr when clicked:
If the display window has a window border, everything is OK. But in a borderless display window, there is no reaction to mouse clicks in the top part of the button.
To test just run within a shell:
'hollywood script.hws' and 'hollywood -borderless script.hws'
Kind regards, Peter
Hello,
there seems to be a bug when it comes to borderless windows.
The following code creates a button that should write 1 to stderr when clicked:
Code: Select all
@VERSION 3, 0
@DISPLAY {
Width = 100,
Height = 100
}
Function p_Output( msg )
DebugPrint( 1 )
EndFunction
evtmatch = { OnMouseUp = p_Output, OnRightMouseUp = p_Output }
MakeButton( 1, #SIMPLEBUTTON, 0, 0, 100, 100, evtmatch )
While( quit = False )
WaitEvent
Wend
End
To test just run within a shell:
'hollywood script.hws' and 'hollywood -borderless script.hws'
Kind regards, Peter