arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.13k stars 7.01k forks source link

Add Window menu that lists open sketch windows [imported] #234

Open cmaglie opened 11 years ago

cmaglie commented 11 years ago

This is Issue 234 moved from a Google Code project. Added by 2010-04-26T13:54:46.000Z by follower@gmail.com. Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium

Original description

What change would like to see?

I would like a "Window" menu added to the menu bar.

Why?

Now that we can have multiple sketches open at one time this would make it easier to swap between them instead of cycling through the windows one-by-one.

Would this cause any incompatibilities with previous versions?

No.

But this is mostly an issue when you have many sketches open which may be considered a non- typical user scenario. However the "Window" menu is relatively common in desktop applications.

If so, how can these be mitigated?

N/A

lmihalkovic commented 8 years ago

simple first step. anything else reeeeally important to add?

screen shot 2015-11-26 at 10 35 43 am
lmihalkovic commented 8 years ago

better without the app name in the title?

screen shot 2015-11-26 at 10 49 07 am
lmihalkovic commented 8 years ago

it seems many apps on Mac at least have these.. dunno about windows

screen shot 2015-11-26 at 11 15 23 am
  public static class EditorBringAllToFrontAction extends ArduinoAbstractAction {
    WeakReference<Base> baseRef;
    public EditorBringAllToFrontAction(Base base) {
      baseRef = new WeakReference<Base>(base);
      putValue(NAME, tr("Bring All to Front"));
    }
    @Override
    public void handleAction(ActionEvent evt) throws Exception {
      Base base = baseRef.get();
      if(base != null) {
        base.editorsStream().forEach(editor -> editor.toFront());
      }
    }
  }

the ref is not even required... the rest of the code is no more difficult or long. and yet here we are 5 years later.

lmihalkovic commented 8 years ago

@mralexgray 2010 it seem... Window menus are largely overrated anyhow... ;-)

thomasaw commented 8 years ago

This is a standard Mac app feature. I hope it gets merged in.

Breidenbach commented 8 years ago

I agree with thomasaw - having used Macs forever (and the Lisa before that) I miss this feature.

ffissore commented 8 years ago

@thomasaw @Breidenbach unfortunately there is nothing to merge. This is just an issue. I look forward for a PR that I'll be happy to test and merge

lmihalkovic commented 8 years ago

One of the miracles of open source is to be able to shift responsibilities around by pushing with a large smile and a friendly PR-welcome, piles of loosely taped together code that users are expected to finish themselves.

nesdnuma commented 8 years ago

Any chance to see this issue solved on a forthcoming update?

erathos commented 8 years ago

May be for christmas ? Waiting for that patch eargerly since 5 years. Unable to do it myself. Thanks to our future savior

lmihalkovic commented 6 years ago

downloaded the latest UI today. looking at the 1.9.0 code, it seems it still does not address this ... 2012 .. what's the bounty on this one?! ;-)

screen shot 2018-04-28 at 9 38 43 pm
kosso commented 5 years ago

Amazed that this issue is six years old. This is fairly standard macOS / OSX user interface for multiple windows.

(The Windows version also lacking it.)

Any way to bump this?