Closed
Description
Created by: dipamsen
Description
Opening a .pdez file shows a blank sketch, if no other processing instances are running.
Expected Behavior
On opening a .pdez
file, it should open the sketch, regardless of whether other instances of processing are running the background.
Current Behavior
When there are no instances of processing already open; and I open a .pdez
file, a blank sketch is opened, instead of showing its contents:
Only then, if I try again to open the .pdez
file, it opens the correct sketch, now that one instance of Processing was already open.
pdezbug.mp4
Steps to Reproduce
A) Directly opening through file
- Assume there exists a file
mySketch.pdez
which is a valid pdez file with some code in it. - Double click on this file. A blank sketch named
sketch ######
will open up, which is empty. - Without closing this processing instance, again try to open the
.pdez
file. This time, it will actually open up the correct code for the sketch.
B) Using pde://
URI Schema
- Go to Processing pde:// demo
- Make sure that no processing instances are currently open. Click on the "Open in Processing" button. Allow the browser to open the file in processing.
- A blank sketch will open up.
- Again, on trying once again the correct sketch will open up, since the blank processing sketch is still open.
Your Environment
- Processing version: 4.2
- Operating System and OS version: Windows 11 10.0.22000
- Other information:
Activity