Bug 1507 : Processing 1.1 - Open two or more sketches
Last modified: 2010-03-31 09:36




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
jeffg
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-03-12 22:09
Not sure if this is a new "feature" or a bug. I don't remember seeing it
in the revision.txt

If I have a sketch open, then go to open another sketch (I often have
several sketches open at once), it prompts me to save or close my other
sketch and won't open the new sketch until I do one of those or cancel. I
have to go to file, new, then select the sketch to have it open the second
sketch without closing the other. Don't like this change..

What would be a nice change regarding open sketches (not sure if this was
changed in 1.1)... if I click on a .pde file and it opens the sketch, don't
open a blank sketch with it.
Additional Comment #1 From fry 2010-03-13 02:46
what do you mean "go to" another sketch? you have two windows open and when
you switch to the other window it asks you to save? i don't follow.
Additional Comment #2 From jeffg 2010-03-13 05:31
If I open a sketch that I'm working on, then go to open another sketch
(File/Sketchbook/AnotherSketch) - it does one of two things. It either
closes the first sketch (if no changes were made) or it asks you to save
the first sketch (if changes were made) so that it can close it.
Additional Comment #3 From Lonnen 2010-03-13 09:07
Could this be remedied by an 'open sketches in new window' preference, similar to the open links
in current or open links in new window options in modern browsers?
Additional Comment #4 From fry 2010-03-13 13:02
Additional Comment #5 From jeffg 2010-03-13 14:07
I don't see where this resolves the issue, or where the behavior changed in
the new version. Could you explain how this is invalid based on the link?
It still doesn't work as it did in 1.09, and doesn't make much sense to me
why it was changed. Is there an option to change it back in the
preferences.txt?
Additional Comment #6 From jeffg 2010-03-13 14:38
In the past, the behavior was that:

Sketchbook
Open a sketch in a new window from the sketchbook folder.

instead of

Sketchbook
Open a sketch from the sketchbook folder.

likewise, the examples would open in a new window.

If the first sketch is empty, this makes perfect sense but if your working
on a sketch and then want to open an example, it shouldn't try to close out
your other sketch.
Additional Comment #7 From num3ric 2010-03-31 09:36
I get the same annoying behavior and I compiled my version very recently.

Basically, I don't want my existing project to be replaced by opening another one. Therefore, I
have to create a new sketch before I can open another file.