Project: Eclipse_Platform_UI
Bug 417201 Sash layout corrupted by dragging into the editor area
Reported: 2013-09-13 11:10:35 | Status: verified fixed

Found this testing the DnD behavior. When you drag a view into the shared area you get two different affordances; 50/50 and 34/66 depending how close to the edge of the shared area you are. If you drop when the rectangles are the same size then the shared area shrinks to zero width. The is the result of the attempt of a new sash to 'adopt' the containerData (weight) of the shared area being done in the wrong place, *after* the sash is added into the model (and given a default value).

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/SplitDropAgent.java bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java