JDK-6655001 : D3D/OGL: Window translucency doesn't work with accelerated pipelines
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-01-24
  • Updated: 2011-01-20
  • Resolved: 2008-02-14
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 6
6u10 b12Fixed
Related Reports
Relates :  
Relates :  
Description
When window translucency is enabled for windows with accelerated
surfaces the tranlucency doesn't work well on Windows systems
prior to Windows Vista: there are artifacts when a window is dragged
away, and it doesn't appear transparent.

Shaped windows work fine.
To run the attached test:
   java -Dusetrans TranslucencySwingTest
   java -Dusetrans -Duseshape TranslucencySwingTest
   java -Duseswing -Dusetrans TranslucencySwingTest
   java -Duseswing -Dusetrans -Duseshape TranslucencySwingTest
and so on. Same with opengl pipeline enabled..

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/6u10/6655001.3
01-02-2008

EVALUATION This is a known limitation of Windows' window translucency support. It was only fixed it properly on Windows Vista. We'll need to disable HW acceleration (both OpenGL and D3D pipelines) for non-opaque windows on systems other than Vista.
24-01-2008