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
if (scompOrigin.x != x || scompOrigin.y != y) {
			
			scomp.setOrigin(x, y);
		}
	}
	public static Point getControlLocation(ScrolledComposite scomp,
			Control control) {
		int x = 0;
		int y = 0;
		Control content = scomp.getContent();
		Control currentControl = control;
		for (;;) {
			if (currentControl == content)
				break;
			Point location = currentControl.getLocation();
			
			
			
			
			x += location.x;
			y += location.y;
			currentControl = currentControl.getParent();
		}
		return new Point(x, y);
	}
	static void scrollVertical(ScrolledComposite scomp, boolean up) {
		scroll(scomp, 0, up ? -V_SCROLL_INCREMENT : V_SCROLL_INCREMENT);
	}
	static void scrollHorizontal(ScrolledComposite scomp, boolean left) {
		scroll(scomp, left ? -H_SCROLL_INCREMENT : H_SCROLL_INCREMENT, 0);