Skip to content

Saved sketch displays random sketch name on reload #2526

Closed
@mkmori

Description

@mkmori

p5.js version

Web Editor 2.8.0

What is your operating system?

iOS

Web browser and version

Google Chrome (118.0.5993.92 on iOS 16.6.1)

Actual Behavior

After logging in and opening a named sketch, on each reload, the sketch name displays a randomly generated name.

Afaict, this is only a display issue, and the saved names are not actually changed. (But not sure what happens on re-save...?)

Incidentally, in Chrome (118.0.5993.89) for Windows, the random name is briefly displayed on reload, before being replaced by the saved named again.

Expected Behavior

The displayed saved name should not change on reload.

Personally, I would propose the fun but sometimes troublesome random sketch name generator be replaced by a more predictable, straightforward default naming algorithm, like that used in the Java IDE. I'll create a GitHub issue for community consideration and discussion.

Discourse topic for opinion gathering:
(https://discourse.processing.org/t/proposal-for-web-editor-replace-random-sketch-name-generator/43023)

Separate issue proposing replacement of random name generator:
(#2528)

Steps to reproduce

Steps:

  1. Log in and open a saved sketch.
  2. Reload.
  3. Observe sketch name after reload.

Metadata

Metadata

Assignees

Labels

BugError or unexpected behaviorsGood Medium IssueA moderately complex issue for contributors with some experiencePriority:MediumModerately important, should be completed in a fair timeframe

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions