-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
1.4.0
-
x86
-
linux_redhat_9.0
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.
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.
- relates to
-
JDK-6177452 setLocationRelativeTo() places the window incorrectly on multi-mon-xinerama when comp is invisible
- Closed
-
JDK-8168307 Toolkit.getScreenSize() returns incorrect size on unix in multiscreen systems
- Resolved