Reply – JOGL broken with JRE>8 and Windows window-scaling
Your Name
Subject
Message
or Cancel
In Reply To
JOGL broken with JRE>8 and Windows window-scaling
— by nyxcode nyxcode
I'm just learning OpenGL using JOGL and, after dozens of hours of debugging, I think I found a bug..
When using the window scaling feature of windows (usefull for small high-resolution screens, laptops, ..) and Java 9 or 10 (Java 8 works fine though) the AWT Frame scales (when using 125% scaling a 500x500 Frame will be 625x625) but the GLCanvas doesnt.

Java 8, everything works as expected: https://prnt.sc/kjf9fp
Java 10, the window is 25% larger and has a nasty black border at the right and the top: https://prnt.sc/kjf9zq

Is this a known bug? Does anyone know of a workaround?