Bug 67311 [ViewMgmt] [RCP] Other views may be docked with standalone views
RC2 Steps to reproduce: 1) Modify the Browser example plugin.xml so that the Browser perspective is not fixed. 2) Modify the first line of BrowserPerspectiveFactory.createInitialLayout to be: layout.addStandaloneView(BrowserApp.BROWSER_VIEW_ID, false, IPageLayout.RIGHT, .25f, IPageLayout.ID_EDITOR_AREA); 2) Launch the Browser 3) Show the history view 4) Drag the history view on top of the Browser view. This should not be possible should it?
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Geometry.java
* 
     * @since 3.0
     */
    public static int getClosestSide(Rectangle boundary, Point toTest) {
        int[] sides = new int[] { SWT.LEFT, SWT.RIGHT, SWT.TOP, SWT.BOTTOM };
        int closestSide = SWT.LEFT;
        int closestDistance = Integer.MAX_VALUE;
        for (int idx = 0; idx < sides.length; idx++) {
            int side = sides[idx];
            int distance = getDistanceFromEdge(boundary, toTest, side);
            if (distance < closestDistance) {
                closestDistance = distance;
                closestSide = side;
            }
        }
        return closestSide;
    }
    /**
     * Returns a copy of the given rectangle
     * 
     * @param toCopy rectangle to copy
     * @return a copy of the given rectangle
     * @since 3.0
     */
    public static Rectangle copy(Rectangle toCopy) {
        return new Rectangle(toCopy.x, toCopy.y, toCopy.width, toCopy.height);
    }
    /**
     * Returns the size of the rectangle, as a Point
     *