-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6
-
x86
-
solaris_10
Package: J2SE
Version: 1.6.0-b31, b24
Description: redraw of window with AlphaComposite.SRC_OVER fails.
See the test programe. It creates Frame, set AlphaComposite.SRC_OVER and put inside Rectangle. If you drag another window over the Frame it leaves artefacts on the Rectangle area. See attached screenshot. xdpyinfo and showrev are attached too.
Test program:
import java.awt.*;
import java.awt.geom.*;
public class test extends Frame {
public void paint(Graphics g) {
Graphics2D g2 = (Graphics2D)g;
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.3f));
g2.setColor(Color.yellow);
g2.fill(new Rectangle(0,0,200,200));
}
public static void main(String[] args) {
test t = new test();
t.setSize(200,200);
t.setVisible(true);
}
}
Bundle tested: jdk-6_0-ea-bin-b31-solaris-amd64-07_apr_2005.tar.gz, jdk-6_0-ea-bin-b31-solaris-i586-07_apr_2005.tar.gz
Hardware: Sun W1100z
Reproducible in 1.6.0 b24, 1.5.0_02 b08
###@###.### 2005-04-15 13:44:35 GMT
Version: 1.6.0-b31, b24
Description: redraw of window with AlphaComposite.SRC_OVER fails.
See the test programe. It creates Frame, set AlphaComposite.SRC_OVER and put inside Rectangle. If you drag another window over the Frame it leaves artefacts on the Rectangle area. See attached screenshot. xdpyinfo and showrev are attached too.
Test program:
import java.awt.*;
import java.awt.geom.*;
public class test extends Frame {
public void paint(Graphics g) {
Graphics2D g2 = (Graphics2D)g;
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.3f));
g2.setColor(Color.yellow);
g2.fill(new Rectangle(0,0,200,200));
}
public static void main(String[] args) {
test t = new test();
t.setSize(200,200);
t.setVisible(true);
}
}
Bundle tested: jdk-6_0-ea-bin-b31-solaris-amd64-07_apr_2005.tar.gz, jdk-6_0-ea-bin-b31-solaris-i586-07_apr_2005.tar.gz
Hardware: Sun W1100z
Reproducible in 1.6.0 b24, 1.5.0_02 b08
###@###.### 2005-04-15 13:44:35 GMT