Bug 95612 [Forms] try to click on a link cause scroll and do nothing
3.1M7 To reproduce: - open a product editor - size your window such that the editor has a vertical scrollbar and that the "eclipse product export wizard" link is visible when the scroll bar is to the top. - scroll to the top (just in case you did not do it before). - click on the link previously indicated You will notice that the editor scroll down and that nothing happens.
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormUtil.java
scomp.setOrigin(x, y);
		}
	}
	public static void ensureVisible(ScrolledComposite scomp, Control control,
			MouseEvent e) {
		Point controlOrigin = getControlLocation(scomp, control);
		int rX = controlOrigin.x + e.x;
		int rY = controlOrigin.y + e.y;
		Rectangle area = scomp.getClientArea();
		Point scompOrigin = scomp.getOrigin();
		int x = scompOrigin.x;
		int y = scompOrigin.y;
		
		
		
		if (rX > scompOrigin.x + area.width) {
			x = rX - area.width;
		}
		
		else if (rX < x) {
			x = rX;
		}
		
		if (rY > scompOrigin.y + area.height) {
			y = rY - area.height;
		}
		
		else if (rY < y) {
			y = rY;
		}