JDK-8039345 : Strange behaviour of per-pixel translucency on linux
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2014-04-05
  • Updated: 2018-03-22
  • Resolved: 2015-03-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b56Fixed
Related Reports
Duplicate :  
Relates :  
Description
Window with transparent background color.

Components are leaving trails if main window has background color with transparency. Still, window doesn't become transparent even if transparency.
Reproducible: Always.

Reproducible in jdk 8 only (8b118 works normally, starts failing since 8b119 )

Steps to reproduce (as in attached java file):
1. Create window (any kind: Frame, JFrame, or just Window) and place some components on it. Set color with alpha as window's background color.
2. Resize window in any way

Expected:
1. Window with semi-transparent background resized normally

Actual:
1. Window is not transparent at all.
2. Components have trails (see attached screenshot).







Comments
jdk8 b119 had two fixes in this general area https://bugs.openjdk.java.net/browse/JDK-8027541 https://bugs.openjdk.java.net/browse/JDK-7160604 It appears that before 8027541 was fixed the window was created opaque Now its properly created with alpha so this exposed another problem. Yes setting -Dsun.java2d.xrender=false fixes it but I don't think its related to 8028722 That's an already fixed hanging bug drawing glyphs.
08-04-2014

I guess it works ok with -Dsun.java2d.xrender=false? Looks like it is related to JDK-8028722
06-04-2014