Bug#987896: GUI drawing error due to Dsun.java2d.opengl=true
Alexis PM
miscelaneanatural at yahoo.es
Sat May 1 18:14:57 BST 2021
Package: sweethome3d
Version: 6.1.2+dfsg-2
Severity: grave
Justification: package unusable
Widespread GUI drawing errors (entire sections of the window appear black when interacting with GUI elements hovering the mouse, clicking on buttons, pulling down menus,...) make sweethome3d unusable. This happens both on my laptop and inside a QEMU virtual machine on another computer.
The simple solution is delete
-Dsun.java2d.opengl=true
in
/usr/share/sweethome3d/sweethome3d.sh
If you want to keep the "-Dsun.java2d.opengl" option with value "true" for those computers where this option is not problematic (I don't know how to identify it) then a "if" conditional is necessary for JAVA_ARGS in /usr/share/sweethome3d/sweethome3d.sh. If in doubt, it is best to delete it from the file.
Best regards.
PS: java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)
dpkg -l | grep -Ei 'default-jre|sweethome'
ii default-jre 2:1.11-71 i386 Standard Java or Java compatible Runtime
ii default-jre-headless 2:1.11-71 i386 Standard Java or Java compatible Runtime (headless)
ii sweethome3d 6.1.2+dfsg-2 all Interior 2D design application with 3D preview
More information about the pkg-java-maintainers
mailing list