Bug 25303 - [EditorMgmt] would like to have a way to temporarily reduce and restore individual editors
Summary: [EditorMgmt] would like to have a way to temporarily reduce and restore indiv...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-24 09:09 EDT by Adam Kiezun CLA
Modified: 2016-10-12 18:18 EDT (History)
7 users (show)

See Also:


Attachments
Vision of minimized editor area (88.49 KB, image/x-png)
2004-06-12 13:32 EDT, Pat McCarthy CLA
no flags Details
Implements this enhancement (8.75 KB, patch)
2004-06-22 13:02 EDT, Stefan Xenos CLA
no flags Details | Diff
Two editor areas/stacks, one minimized (85.96 KB, image/x-png)
2004-06-22 13:37 EDT, Pat McCarthy CLA
no flags Details
Two editor stacks / both minimized (61.37 KB, image/x-png)
2004-06-22 13:38 EDT, Pat McCarthy CLA
no flags Details
Eclipse 3.2.1 - multiple editors that can be minimized individually (154.25 KB, image/png)
2008-12-18 09:21 EST, J.O. Leger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-10-24 09:09:09 EDT
very frequently i would like to keep an editor open by hide it for a while and 
remove from the editor tab (tey take too much space there)

for other views we have the concept of 'fast views' but with editors i'm stuck
i either have to close them and then hunt for them again
or keep them open and let them polute my screen

something like fast views for editors or the Win 'minimize' concept would be 
extremally nice
Comment 1 Adam Kiezun CLA 2002-10-24 09:11:38 EDT
the only workaround that i have for now is to split the editor area in 2 and 
move all the 'minimzed ones' to the other (made very small) area

btw. why are editros special? they feel like all other views - they should not 
be special citizens. and we'd have 'fast views' for free then.
Comment 2 Pat McCarthy CLA 2004-05-31 02:28:49 EDT
Note: This should be bumped up to a 3.0 request.

I'd vote for this, especially if it was based on the new V3 style of minimizing 
views.

Interesting strategies for view/UI space management are possible with the new 
view minimize capability.

One I've been driving for a bit.  

-Start with Java perspective.
-Drag outline over above package explorer (need more left/right for code).
-Drag problems below all other views so it is 100% of the width of the window.
-Stack other similar "wide" views on top of problems. (console, tasks,...)
-Search and other seldom used views go on top of the Javadoc/Declaration. 
-Minimize problem stack and/or Javadoc stack to increase vertical on source.
-Minimize either Outline or Package depending on mood.

Where I come up short is editors.

I end up with two sets open.  Mine and Eclipse examples (Interfaces I need to 
implement and so on).

What I started to do was split the editor area into two (top/bottom), and then 
put research editors at bottom, mine at top. What I end up doing is draging the 
split up/down, but this is hard to grab and tedious.  

I'd love to have the ability to minimize the top or bottom to see all of the 
other.  This should be general purpose.  A minimize of even a single editor 
area would be like a soft Window>Hide Editors.  Two, minimize one or both.  It 
may not make sense if stacked side by side, but then neither does minimizing 
views that have the same relationship. 

Add to this the maximize key combo (where is the minimize equivalent?), and the 
consistent find open editor process and you can get where you want and see as 
much as you need most all the time.

Be real nice for 3.01....
Comment 3 Michael Van Meekeren CLA 2004-06-11 16:28:02 EDT
There is also an available key binding for the Hide Editors function that you 
could also use.

Window > Preferences > Workbench > Keys > 

Then go to the catagory: "Window" and there is an item named Hide Editors in 
the "Name" combo box below.

Works quite nicely.
Comment 4 Pat McCarthy CLA 2004-06-11 16:41:47 EDT
Thanks - was looking for that (i don't look at any editors in the Resource 
perspective) and they keep showing up on me.

But, that is the same as Window>Hide Editors; and since I'm a keyboard type 
the f10+w+e is ok too.

My real goal/request is that we get the ability to minimize a stack of 
editors, not all editors.  I'd like to have two tiers and then minimize one or 
the other using some standard keyboard technique or mouse click.
Comment 5 Brian de Alwis CLA 2004-06-11 17:54:32 EDT
Have you tried using two tiled Eclipse windows, with being an
ultra-stripped-down editor?  Somewhat like <warning, ascii art below>:

+-------------++-------+
|             ||       |
|    Normal   ||Eclipse|
|   Eclipse   ||Exmpls |
|             ||       |
|             ||       |
+-------------++-------+
Comment 6 Pat McCarthy CLA 2004-06-12 13:32:08 EDT
Created attachment 11989 [details]
Vision of minimized editor area
Comment 7 Pat McCarthy CLA 2004-06-12 13:32:47 EDT
Thanks - not bad for ascii - but that is not the target.  

Call me old - but I'm usually using the workbench in full screen mode, I want 
to see as much as possible at any one time.  Two windows would work as a 
strategy if I had two displays.  With the way you suggest I just see a little 
of both.  Now I could toggle between two full size windows, but I like to 
limit my open windows.

No, the real goal here is NEW FUNCTION.  I'm asking that the editors be 
managed as a stack just like views, and that each stack support minimize.  
This is implicit via the hot key option or Window > Hide Editors when only one 
editor stack is around.  But when there are two stacks, the idea is to be able 
to minimize one of them.  Generalize this to a rule that says when there are 
multiple visible editors (I've dragged to side-by-side or top-bottom), that 
the two areas should be stacks that allow me to minimize just one.

The end result would look like the picture attached (in a minute), but allow 
me to toggle in/out on or the other stack.  More likely I'd nav to an editor 
and want to as the active editor/editor stack to take 100% of the editor area 
(a differnet request than maximize to 100% workbench window).
Comment 8 Ed Burnette CLA 2004-06-12 14:31:10 EDT
Why not just enable minimize on editor parts?
Comment 9 Pat McCarthy CLA 2004-06-15 12:32:11 EDT
That is the goal, be it only when you have multiple editor stacks (split 
screen).

Or, now that the hide editors window menu option is gone (command shortcut 
available - see Bug 63827), maybe it makes sense for the minimize option to be 
there all the time.
Comment 10 Stefan Xenos CLA 2004-06-22 13:02:27 EDT
Created attachment 12662 [details]
Implements this enhancement

This patch generalizes the view minimize facilities to work for editors as
well.

Note: the original PR here asks for a way to move individual editors aside and
quickly bring them back later. Although this patch implements an "editor
minimize" facility that is equivalent to the one for views, it still does not
fully solve the  use case described in this bug.
Comment 11 Pat McCarthy CLA 2004-06-22 13:36:40 EDT
Way cool.  If it doesn't ship I'm sure I'll apply it.  Would be a secret like 
Bug 31564 was/is.

I could not break it with my silly testing.  PDE editor flashes a bit on 
minimize/restore, but this is probably all the UIForms stuff running through 
layout logic.

Attaching two images. One is standard use, the other is what looks a bit odd 
when you minimize two editor groups.  The view stack below the editors runs to 
the top; you could argue it would look better at the bottom.  No matter to me -
 minimizing two is odd, and no matter what you get the empty grey box.

Status?  Patch only??  Will it ship someday???  Have the human factors people 
had a chance to dance on it a bit???? (enough ?'s) - thanks very much for 
doing this much.   Maybe there will be additional comments from others.
Comment 12 Pat McCarthy CLA 2004-06-22 13:37:30 EDT
Created attachment 12666 [details]
Two editor areas/stacks, one minimized
Comment 13 Pat McCarthy CLA 2004-06-22 13:38:10 EDT
Created attachment 12667 [details]
Two editor stacks / both minimized
Comment 14 Ed Burnette CLA 2004-06-22 14:32:45 EDT
The screenshot with two stacks/one minimized almost looks like you have a 
multi-line CTabFolder. Maybe that would be an easier to use solution? 

Personally I don't like minimize because it's too manual. I don't want to 
spend much time fine tuning the layout of the parts. Some one time adjustment 
of the sizes and an occasional button press to zoom/unzoom and that's about it 
for me.

Other random thoughts:
- Too bad minimizes only work up and down, not side-to-side.
- Why can't you tear off editors like you can views?
- MDI editors would be another solution people are used to (though I'm not a 
fan of MDI myself).
Comment 15 Pat McCarthy CLA 2004-06-22 14:49:13 EDT
I didn't look to see if a keyboard mapping is possible yet.  If not, that 
would be another nice to have.  Option to toggle active editor stack in/out of 
minimized might be nice.  Will have to relaunch and see if the existing 
keyboard mapping for hide still works (only option since Hide Editors was 
removed from menu).
Comment 16 Stefan Xenos CLA 2004-06-23 13:27:25 EDT
Re: comment 14

There are existing PRs for torn off editors, multiple rows of tabs, and a
minimize keybinding. An MDI interface could be implemented using the
presentation API.

Although multiple rows of tabs will not be supported, I believe we could
accomplish a similar effect by offering an "auto-minimize editors" option. When
enabled, selecting an editor will restore that editor's stack and minimize all
the stacks above and below it. This would accomplish essentially the same thing
as multiple rows of tabs. Since it wouldn't affect editors to the left and
right, it would still be possible to have two files visible at once.
Comment 17 Stefan Xenos CLA 2004-06-23 13:30:05 EDT
Wow, Pat... you're very appreciative! I like fixing your bugs. :-)

Unfortunately, this patch will not be included in Eclipse 3.0.
Comment 18 Pat McCarthy CLA 2004-06-23 13:39:34 EDT
It was fun to have an idea that somebody listened to :-).

Re #C14  by "offering an "auto-minimize editors" option" did you mean that 
clicking on the editor tab for in a minimized row would swap that row for the 
currenly non-minimized row?  If so, yes this would be nice, saves a click.

But your "two files visible at once", would this only be side-by-side?  I 
think top/bottom is just as common for two-at-a-time, so I'm wondering how I'd 
get there if the above is true. Would it be by disabling the option?

Course you could always update the patch and we'd see how it works :-).
Comment 19 Adam Kiezun CLA 2004-06-25 09:59:16 EDT
Guys,
comment 12 and comment 13 show screenshots of behavior different than the
original report requested. I wanted to have a way to _minimize_ an editor, not
hide or minimize the whole editor area (even when it's split in 2). i'd like to
have something like 'fast view' for editors. or a desktop shortcut in windows.
or 'favorite files' or something like that.

1 1/2 later i still have to use stuff like 'open resource' and such workarounds. 
Comment 20 Stefan Xenos CLA 2004-06-25 12:10:46 EDT
Re: comment 19

As stated in comment 10, the patch here meets the requirements of the
screenshot, but not the requirements of the original PR.
Comment 21 Adam Kiezun CLA 2004-06-25 12:26:58 EDT
fair enough - i'll be waiting then.
Comment 22 Stefan Xenos CLA 2004-07-07 17:20:51 EDT
The partial fix has been committed to head (patch inspected by Andrew). A
minimize button is now available for editors. There was one additional change
made to the patch in order to handle minimized editors that were in the
activation list and had not been lazily loaded yet.

However, the enhancement originally requested in this PR has not been addressed:
there is still no way to temporarily reduce a single editor and bring it back later.

Renaming PR (since the term "minimize" now has other connotations).
Comment 23 Michael Van Meekeren CLA 2006-04-21 13:19:44 EDT
Moving Dougs bugs
Comment 24 J.O. Leger CLA 2008-12-18 09:00:18 EST
This feature was available in 2.4.  Why did it go away?
Comment 25 J.O. Leger CLA 2008-12-18 09:21:23 EST
Created attachment 120832 [details]
Eclipse 3.2.1 - multiple editors that can be minimized individually

A screen shot of multiple editors in Eclipse 3.2.1 each having their own minimize and maximize buttons
Comment 26 J.O. Leger CLA 2008-12-18 09:32:12 EST
Another question:

If this was in 3.2.1 (and before) shouldn't this be considered a "bug" and not an enhancement?
Comment 27 J.O. Leger CLA 2008-12-18 09:56:14 EST
Another question:

If this was in 3.2.1 (and before) shouldn't this be considered a "bug" and not an enhancement?
Comment 28 Susan McCourt CLA 2009-07-09 19:02:16 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 29 Boris Bokowski CLA 2009-11-17 13:00:03 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 30 Remy Suen CLA 2010-11-09 08:53:15 EST
(In reply to comment #24)
> This feature was available in 2.4.  Why did it go away?

By the way, there was never an Eclipse 2.4 release.

(In reply to comment #25)
> Created an attachment (id=120832) [details]
> Eclipse 3.2.1 - multiple editors that can be minimized individually

If you want separate min/max buttons for your editor stacks, change your presentation back to the original.

Window > Preferences > General > Appearance
Current presentation: Classic Presentation
Comment 31 Mickael Istria CLA 2016-10-12 18:18:45 EDT
Is this still an issue? It seems to me the reported use-case is rither Invalid or much better supported in recent Eclipse versions. So it could be a WONTFIX.