Skip to content

.pdez files not opening on first launch in Windows #698

Closed
@processing-bot

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:

image

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

  1. Assume there exists a file mySketch.pdez which is a valid pdez file with some code in it.
  2. Double click on this file. A blank sketch named sketch ###### will open up, which is empty.
  3. 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

  1. Go to Processing pde:// demo
  2. 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.
  3. A blank sketch will open up.
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLabhelp wantedExtra attention is neededwindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions