Timeout and held window in Windows
Posted: Wed May 20, 2026 3:51 pm
Hi,
If you hold down a Hollywood program window with the mouse in Windows to move or resize it, and a timeout event occurs during that time, the event is lost. This also happens if you hold down a second display opened by the program.
Can this be fixed?
By the way, it works as expected in Linux Mint (Cinnamon).
Here’s an example. The event occurs after 3 seconds and terminates the script, but not if you grab the window by the title bar.
If you hold down a Hollywood program window with the mouse in Windows to move or resize it, and a timeout event occurs during that time, the event is lost. This also happens if you hold down a second display opened by the program.
Can this be fixed?
By the way, it works as expected in Linux Mint (Cinnamon).
Here’s an example. The event occurs after 3 seconds and terminates the script, but not if you grab the window by the title bar.
Code: Select all
SetTimeout(Nil, Function() NPrint("\nTimeout function. End in 2 seconds...") Sleep(2000) End EndFunction, 3000)
NPrint("\nStarting main loop. Timeout should come in 3 seconds.")
Repeat
WaitEvent()
Forever