Project: SWT
Bug 196979 Shell.getBounds() wrong when shell is maximized.
Reported: 2007-07-18 12:04:44 | Status: resolved fixed

When you maximize a shell, then call get bounds, the shell returns it's premaximized size and x y coordinates which are less than 0. before maximizing: Rectangle {161, 161, 300, 300} after maximizing: Rectangle {-7, -7, 300, 300}

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java