| Summary: | [DetachedViews] Detach views should be minimizable | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Pascal Rapicault <pascal> |
| Component: | UI | Assignee: | Eric Moffatt <emoffatt> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | nikolaymetchev |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Pascal Rapicault
not only minimize should be enable but also maximization. This is useful if you have more than one monitor. Fixed both the minimize and maximize issues in the patch for bug 58003. Verified in 20050527-0900 on windows XP this functionality is only available through right clicking on the title bar and selecting minimize/maximise in the popup menu that shows. The only button in the top right of the window that is available is close. Was this intentional and can the minimize/maximise buttons be added? The buttons are provided by the OS. We set the flag that asks SWT for the minimize affordance, and (presumably) SWT passes it on to the OS. I suspect that you'd need to ask Microsoft for that enhancement. Reopening. This enhancement was rolled back due to feedback from RC1. It seems that the feature wasn't removed completely in eclipse 3.1RC2. It is still possible to maximize (but not minimize). Also if you try and dock an editor window onto the detached view then the whole thing goes haywire. There is even a stack trace: -------------------------------------------------------- java.lang.ClassCastException: org.eclipse.ui.internal.EditorPane at org.eclipse.ui.internal.ViewStack.isMoveable(ViewStack.java:111) at org.eclipse.ui.internal.PartStack$1.isPartMoveable(PartStack.java:115) at org.eclipse.ui.internal.presentations.SystemMenuDetach.update(SystemMenuDetach.java:34) at org.eclipse.ui.internal.presentations.SystemMenuDetach.setPane(SystemMenuDetach.java:53) at org.eclipse.ui.internal.ViewStack.updateActions(ViewStack.java:103) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1087) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051) at org.eclipse.ui.internal.PartStack$PartStackDropResult.drop(PartStack.java:191) at org.eclipse.ui.internal.dnd.DragUtil.performDrag(DragUtil.java:130) at org.eclipse.ui.internal.PartStack.dragStart(PartStack.java:1368) at org.eclipse.ui.internal.PartStack$1.dragStart(PartStack.java:107) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:111) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:280) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleDragStarted(AbstractTabFolder.java:364) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$2.handleEvent(AbstractTabFolder.java:68) at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:96) at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:89) at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:61) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:844) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3058) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2691) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1716) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1680) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:365) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) ----------------------------------------------------------------------------- The maximize feature was kept intentionally. Minimize was removed because removing the shell title made it impossible to tell which view was minimized. The CCE is a bug that should be addressed for RC3. The CCE is still present in eclipse 3.1RC4 *** This bug has been marked as a duplicate of bug 66777 *** |