Toolkit.getScreenSize() claims that it returns the screen size of the primary monitor on multi-monitor systems. But this is not working as specified on a multi-mon setup in linux with a virtual screen setup using Xinerama. This method return the size of the virtual screen instead of the primary monitor.
This is not reproducible on win32 with a similar virtual screen setup. This is reproducible on all releases (regressed it till 1.4).
I have attached a sample test. Execute the sample test on linux with xinerama. If you see the size of the virtual screen being returned, the bug is reproduced.