Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328633 - Cannot use minimized views due to IAE
Summary: Cannot use minimized views due to IAE
Status: CLOSED DUPLICATE of bug 328499
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 12:37 EDT by Remy Suen CLA
Modified: 2010-10-25 13:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-10-25 12:37:52 EDT
1. Open a file.
2. Ctrl+M to maximize the editor.
3. Try to click on a view's icon in the trim.
4. An IAE is thrown. Dismissing the dialog does not help as clicking inside the view will cause another IAE.

Caused by bug 328499.

java.lang.IllegalArgumentException: The selected element org.eclipse.e4.ui.model.application.ui.basic.impl.PartStackImpl@a300a30 (elementId: left, tags: [newtablook, org.eclipse.e4.primaryNavigationStack, MinimizedByZoom, Minimized]) (widget: CTabFolder {}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer@15a615a6, toBeRendered: true, onTop: false, visible: false, containerData: 2500, accessibilityPhrase: null) must be visible in the UI presentation
	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:165)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:236)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:238)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:204)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:470)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:454)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:443)
	at org.eclipse.e4.ui.workbench.addons.minmax.TrimStack$9.widgetSelected(TrimStack.java:313)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4083)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3674)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:788)
Comment 1 Eric Moffatt CLA 2010-10-25 13:23:44 EDT
Marking as a DUP of bug 328499 (which I've re-opened and is where I'll place the fix)...

*** This bug has been marked as a duplicate of bug 328499 ***