laesaster / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Opening a sketch replaces old sketch in the window #327

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new, blank sketch.
2. Open Examples > 1.Basics > BareMinimum
3. Open Examples > 1.Basics > Blink

What is the expected output?

I expect two (or three) windows containing the Blink sketch, the BareMinimum 
sketch and (optionally) a blank sketch.

What do you see instead?

One window with the Blink sketch.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

0019 RC1, OS X, Deci.

Please provide any additional information below.

This may be "by design" (via the latest Processing sync?) but to me it's a 
backwards step as I think it breaks the principle of "least surprise". I think 
it's not unusual to want to open an existing sketch to check how to do 
something--to have the current sketch you're working on disappear is not 
helpful.

The work-around is to open a new sketch (which opens an additional window) then 
open the sketch to which you want to refer.

Original issue reported on code.google.com by follower@gmail.com on 15 Aug 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Works like this since 0017.

Open a sketch from the Filemenu creates a new window
Open a sketch from the toolbar replaces the sketch in the currrent window

Original comment by e.fa...@wayoda.org on 15 Aug 2010 at 5:11

GoogleCodeExporter commented 9 years ago
I should have clarified that as:

File > Examples > 1.Basics > ...

In all cases.

So this is a change in functionality because now:

Open a sketch from the Filemenu replaces the sketch in the current window

(I completely forgot you can access open from the toolbar--I don't think I've 
ever used it. But when I tried it I discovered a long popup sketch menu doesn't 
scroll properly on OS X 10.5 since at least 0018--the same menu from the File 
menu scrolls correctly however.)

Original comment by follower@gmail.com on 15 Aug 2010 at 5:31

GoogleCodeExporter commented 9 years ago
True, this is new...
Menu -> File -> Examples replaces the code in the current window
Menu -> File -> Open creates a new window for the users selection in the 
filedialog

Original comment by e.fa...@wayoda.org on 15 Aug 2010 at 6:49

GoogleCodeExporter commented 9 years ago
r1070

Original comment by dmel...@gmail.com on 15 Aug 2010 at 7:15