Community
Participate
Working Groups
If you close all the views of a stack, you just get an empty rectangle of space now. Resizing your window will adjust the layout properly. Note that reopening the views don't help, you still have to resize something to force a layout.
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.