JDK-6990921 : PERPIXEL_TRANSLUCENT doesn't work on linux-oel5.5-x86-32
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux
  • CPU: x86
  • Submitted: 2010-10-11
  • Updated: 2017-02-11
  • Resolved: 2010-10-22
Related Reports
Relates :  
Relates :  
Relates :  
Description
PERPIXEL_TRANSLUCENT is reported as supported but for AWT test, when Window background is set to translucent color the actual window background is painted opaque.

Comments
EVALUATION There are several issues with this bug: 1. The Robot is unable to capture the correct colors when non-opaque windows are visible on X11. See 6903034 for details. Until this CR is fixed, there's absolutely no sense to perform any automatic testing of transparency on X11. 2. The system is setup to run KDE 3.5. I believe Oracle EL should default to using Gnome. Besides, Gnome is the only officially supported desktop environment for JDK 7 on X11. 3. The per-pixel transparency is reported as supported: the r500 X.Org video driver seems to provide ARGB visuals support. However, windows created with such a visual do not look transparent visually because the system isn't running any compositing manager. The system should either be running a compositing window manager (such as the compiz), or a separate compositing manager (such as the xcompmgr). Perhaps KDE has its own compositing features, but I'm not an expert in that desktop environment, and don't know how to enable them. The transparency effects do not work (regardless be it a Java application, or a native application that employs transparency) unless a system is running a compositing manager. Please refer to 6762511 for details (it discusses a similar issue observed on Gnome with Metacity but w/o a comositing manager running). Please note that there's absolutely no way to detect whether a compositing manager is currently running, so Java is unable to report whether the transparent windows will actually look transparent visually. It can only check (and it does) whether the system provides ARGB visuals. Please consider using an environment that supports translucency effects for native applications (such as the latest versions of Gnome with the Compiz window manager running and visual effects enabled) to test the effects. Please note that there's no a defect in Java since native applications behave the same way. I'm closing this issue as 'Not a Defect'.
22-10-2010

EVALUATION See comments.
11-10-2010

EVALUATION The test doesn't check whether the PERPIXEL_TRANSLUCENT transparency kind is supported on this system. Please correct the test, and make sure it's really reported as supported on that system. Also, please provide information on what window manager (metacity or compiz, or something else) and of what version is running while the test is being run. Are extra appearance effects enabled in the system? (in Gnome that is the System configuration -> Appearance applet, and the Effects tab (or alike)). Providing details for VNC access to the test system in the Comments section would be helpful as well.
11-10-2010