Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Sketch window does not always display when running a sketch with a blank draw() function #3363
Sketch with a blank draw() function, often does not display, and the Run button needs to be pressed several times (not necessarily an odd number of times), for the sketch to run, which in turn may cause the sketch to run without the Run button being (visibly) selected and turning green, as shown:
A sample sketch that gives this problem is this one:
However, this sketch seems to work perfectly fine all the time:
The output of the above two sketches, however, is identical. The issue described is not consistent, and sometimes, the first sketch has to be run several times before getting an output window, while at other times, the output window is displayed immediately.
Possibly related to #3249.