processing / processing/p5.js-web-editor

Incorrect error on save citing multiple open windows (Web Editor: v2.7.3)

Open
#2,408 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Priority:Medium
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

v1.4.1

What is your operating system?

Mac OS

Web browser and version

FF 117.0 (64-bit)

Actual Behavior

A sketch (opened in only one tab) cannot be saved bc of incorrect error claiming multiple windows/saves. The only option is to refresh the page, potentially losing work.

I've seen this multiple times though I don't have a consistent way of recreating it as yet.

Screenshot 2023-09-11 at 11 37 33 AM
Expected Behavior

Should be allowed to save sketch

Steps to reproduce

Don't have reproducible steps as yet

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating the Web Editor save flow and attempting to reproduce the false multiple-windows error in Firefox on macOS with p5.js v1.4.1. The issue has no reproducible steps, so document a reliable trigger if found and verify that a sketch opened in one tab can be saved without requiring a refresh or losing work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.