Bug 64836 - [MinMax] [RCP] Allow maximize/minimize to be separately configurable
Summary: [MinMax] [RCP] Allow maximize/minimize to be separately configurable
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-31 16:43 EDT by Nick Edgar CLA
Modified: 2019-09-06 16:17 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2004-05-31 16:43:26 EDT
build I20040529-0105

- run the browser example, augmented with another view
- choose Maximize on the view's tab menu
- it has no effect

Now that the concept of fixed views has been removed, and the flags are more
clearly defined as isMoveable() and isCloseable() (see IViewLayout), we should
not combine the maximize behaviour with moveable.
See also comments in bug 49811 requesting that these concepts not be combined.
Comment 1 Nick Edgar CLA 2004-05-31 16:49:15 EDT
Actually, the problem occurs if the view is in a fixed perspective, but the same
argument applies.  In a fixed perspectives, all initial views are non-moveable
and non-closeable, and the overall layout of the perspective cannot be changed,
but that should have no effect on maximize/minimize.
Comment 2 Nick Edgar CLA 2004-05-31 16:56:31 EDT
There seems to be a problem with the implementation of ViewPane.isMoveable().
It is currently:
	boolean isMoveable() {
		return !page.isFixedLayout();
	}

It should -only- check isMoveable(IViewReference) on the active perspective.
Views that are opened after the perspective is created are moveable, even if the
perspective is fixed (but only within the same folder).

Also need to double-check ViewStack.isMoveable(IPresentablePart).  It should
probably just call ViewPane.isMoveable().

Comment 3 Matthew Hatem CLA 2004-05-31 17:56:40 EDT
Some RCP application end users might freak out when they stumble on the zoom 
features.  It may appear to some that their other views are lost and there may 
be no real indication (depending on the presentation used) of how to restore 
the application to it's default layout or unzoom.  

RCP applications need the ability to turn off or control the zoom 
functionality.  Implementing a perspective as fixed seemed logical.  Maybe 
zooming in a fixed perspective should result in showing that view/editor in a 
new WorkbenchWindow.
Comment 4 Nick Edgar CLA 2004-06-01 11:30:13 EDT
So are you saying that if the perspective is fixed, then minimize and maximize
are not supported, but if the view has been marked as non-moveable in a
non-fixed perspective, then it still allows minimize/maximize?
Comment 5 Matthew Hatem CLA 2004-06-01 13:18:41 EDT
Minimize and restore are okay.  The maximize/zoom feature, since it hides all 
views that are not in the zoomed view's stack, pose interesting usability 
issues, especially for RCP apps targeted at non-technical end users.
Comment 6 Michael Van Meekeren CLA 2004-06-02 09:42:20 EDT
I'm not sure on all the details here so correct me if I'm wrong.  

This is marked as RC2, do we really think we can establish a pattern to fix 
all the cases in a way that makes sense for everyone.  I suggest that perhaps 
we stand back and think through the scenarios more carefully after 3.0.  

The question perhaps is whether min/max etc.. can be hidden/prevented/avoided 
right now and if so we document how that can be done through presentations 
etc..
Comment 7 Michael Van Meekeren CLA 2004-06-04 09:38:26 EDT
deferring till after R3.0
Comment 8 Nick Edgar CLA 2004-06-08 17:06:38 EDT
For R3.0, we've made it so that in fixed perspectives, maximize and minimize are
not applicable.  In a non-fixed perspective, maximize and minimize are
applicable even if a view is marked as non-moveable.  See bug 65665.

After R3.0, we should revisit this and allow maximize and minimize to be
separately configurable.
Comment 9 Michal Tkacz CLA 2004-07-04 14:13:23 EDT
It would also be great to have the possibility to disable editor's maximize
command (the same argument: some end users may get lost). Or maybe even the
possibility to disable movement of an editor outside its tab group (so that only
one tab group can be opened).
Comment 10 Michael Van Meekeren CLA 2004-07-21 16:55:02 EDT
any reason why this is marked major? should this be fixed in 3.0.1?
Comment 11 Nick Edgar CLA 2004-07-22 12:11:15 EDT
The original problem was marked as major since the behaviour the user saw was
unexpected.  With the fix for bug 65665, the original problem is no longer seen,
so this PR is no longer major.  Not action needed for 3.0.1.

Changing this to be an enhancement request for 3.1 since I still think apps
should be able to override the minimize/maximize behaviour.  In order to avoid a
plethora of customization flags, it would be better to delegate to the workbench
advisor, or allow it to specify a strategy for this behaviour.
Comment 12 Jean-Michel Lemieux CLA 2004-10-18 22:13:28 EDT
Also, the minimize behavior can leave your layout in funny states, and in my
applications I would simple like to disable that behavior all together. I would
prefer if this was separate from the moveable flag.
Comment 13 Nick Edgar CLA 2005-05-11 09:25:24 EDT
Was not able to get to this for 3.1.

Another option would be to have global prefs (not necessarily exposed to the
user) to control whether minimize is allowed, and whether the minimize/maximize
buttons appear in the default presentation.
Comment 14 Nick Edgar CLA 2006-03-15 11:24:16 EST
Reassigning bugs in component areas that are changing ownership.
Comment 15 Boris Bokowski CLA 2007-09-06 11:04:34 EDT
Over to you...
Comment 16 Eclipse Webmaster CLA 2019-09-06 16:17:56 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.