Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
processing-bot opened this issue Apr 11, 2023 · 4 comments · Fixed by #854
Closed

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

processing-bot opened this issue Apr 11, 2023 · 4 comments · Fixed by #854
Labels
has attachment Attachment was not transfered from GitLab help wanted Extra attention is needed windows

Comments

@processing-bot
Copy link
Collaborator

processing-bot commented Apr 11, 2023

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:
@processing-bot
Copy link
Collaborator Author

Created by: nbourre

Same problem with version 4.3 on Windows 11.

@Stefterv
Copy link
Collaborator

https://bugs.openjdk.org/browse/JDK-8198549 Seems like an issue with JDK / Javapackager

@Stefterv
Copy link
Collaborator

Seems to be just an issue on Windows

@Stefterv
Copy link
Collaborator

The sketch is actually being downloaded

Stefterv added a commit that referenced this issue Nov 28, 2024
Fix #698 - Sketches weren't opening on launch because the untitled folder did not exist yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has attachment Attachment was not transfered from GitLab help wanted Extra attention is needed windows
Projects
None yet
2 participants