| Summary: | Workbench doesn't relayout after a stack disappears | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | 4.1 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Remy Suen
1. Window > Open Perspective > Debug 2. Activate the 'Debug' view. 3. Close the 'Variables' view. 4. Close the 'Breakpoints' view. 5. You have the empty area (as described by comment 0). 6. Try to resize the horizontal sash splitter of the 'Debug' view and the empty space. You will get an NPE. Whenever the mouse hovers over that area, you will get that NPE. java.lang.NullPointerException at org.eclipse.e4.ui.workbench.renderers.swt.SashLayout.adjustWeights(SashLayout.java:172) at org.eclipse.e4.ui.workbench.renderers.swt.SashLayout$2.mouseMove(SashLayout.java:88) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:205) 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:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:693) Created attachment 180360 [details]
Clean up the layout handling
Created attachment 180361 [details]
Updated patch to fix test errors
Fixes 'forceLayout' to handle MWindows (which are MPSC's).
Committed in >20101006. Applied the patch. Verified in I20101026-0203. |