Project

General

Profile

Actions

Bug #867

closed

Set Interval procedure routine jumpy problem in previewer

Added by malcolm harvey about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
11/16/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

I have discovered that there is a bug with Set Interval in the previewer.
If you have set a Set Interval previously before say your main do loop routine and then as above, you might gosub from your main loop or from a sub loop of a gosub, to a routine that then wait for a mouse click before exiting back to the main loop, the Interval procedure routine starts getting intermittent not smooth.
For example, a custom mouse moving sprite will become jumpy and clock hands become randomly jumpy which are all in the Set Interval procedure not keeping up as per normally previously set.
I also have done a del or turn of set interval and restarted it in the gosub routine as well that is checking the mouse and waiting for click and no difference. But, Ive also found now, if you run again this same thing in a Fullscreen browser all is fine and continues to go smooth after exiting the gosub loop in question, so yes a quirk in the previewer with this somehow.

Actions #1

Updated by Francois Lionet about 3 years ago

  • Status changed from New to Feedback

Could you give me example code? this would be easier than trying to reproduce...
?

Actions #2

Updated by malcolm harvey about 3 years ago

  • Status changed from Feedback to Closed

As with every int my other ticket issue, it will be difficult to get the code out to see this but ill
make another ticket if I can do this. Again, its best I make a ticket on what is not running in the previewer instead.

Actions

Also available in: Atom PDF