java redisplay problem on intel driver

Per Bothner per at bothner.com
Sun Dec 14 22:16:11 UTC 2008


Could people try the attached Java test program?
There is a bad redisplay problem for large (greater than around 1000
lines) text windows using a TextArea (or a Swing JTextPane).
I have the feeling it is specific to the Intel driver.

To test it, you need to have openjdk "java" installed and
in your path:

$ java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-7.b12.fc10-i386) Runtime Environment (build 
1.6.0_0-b12)
OpenJDK Server VM (build 10.0-b19, mixed mode)

Java is provided by java-1.6.0-openjdk-1.6.0.0-7.b12.fc10.i386.
However, the same problem occurs with jdk1.6.0 update 11
downloaded directly from Sun, as well as jdk 1.5.0_05.

To test it, put TextTest.java in a temporary directory,
cd to that directory, compile it, and run it:
   $ javac TextTest.java
   $ java TextTest
Now try scrolling back and forth a bit.  What happens for me is that
the text lines will be over-written multiple times on top of each other.

The interesting thing is that only the first 700 lines
or so are garbled - the remaining lines are fine.

My guess is that there is some weird interaction between Java,
the Gtk peers, and the intel driver, since otherwise more people
would have reported this problem.  Also, I have tried it on an 
NVidia-based laptop, and well as with the vesa driver (iirc).
It would be helpful to get some data-points before I decide
whether to complain to Sun or to Intel or to Gnome!
-- 
	--Per Bothner
per at bothner.com   http://per.bothner.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextTest.java
Type: text/x-java
Size: 2173 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20081214/ac3013fc/attachment.bin>


More information about the fedora-test-list mailing list