Skip to main content

6u10 RC2 has broken Image rendering

7 replies [Last post]
marvinpwarble
Offline
Joined: 2008-07-26

6u10 RC2 has broken Image rendering in my product. Can I get a list of builds between RC1 and RC2 and access to those JREs so I can determine which build actually broke my image rendering?

Thanks,
M. Warble
www.galileoriaf.com

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
marvinpwarble
Offline
Joined: 2008-07-26

I've been able to recreate this problem with a simple example using only AWT components. This applet simply creates a Canvas component and paints an image; however, to demonstrate the problem, the image has to be loaded in a separate thread. A summary of what happens is as follows:

1. Applet is created.
2. Canvas is created.
3. Canvas starts a thread.
4. Thread sleep for 5 seconds and then loads an image.
5. After loading the image, the thread instructs the Canvas to repaint itself via SwingUtilities.InvokeLater.
6. The first paint is messed up.
7. If the Canvas is forced to repaint itself by moving another window over the applet, the image is repainted fine.

The problem is consistent and is not present when run via RC1.

You can run this applet via:

http://www.galileo-riaf.com/java/index.html

There is one source file which you can view via:

http://www.galileo-riaf.com/java/TestApplet.java

This problem is also occurring within my framework for images not loaded via a separate thread, but right now I'm unclear on what actual conditions need to exist to reproduce this.

Any insight into this problem would be greatly appreciated.

Thanks,
M. Warble

mbien
Offline
Joined: 2007-04-29

hmm.. works for me on ubuntu and windows xp, both rc2 build 32. Seems to be ether a driver bug or a race condition.

marvinpwarble
Offline
Joined: 2008-07-26

Thanks for the response. You are right, it worked fine for me on XP. This appears to be isolated to Windows Vista and 6u10 RC2.

Any thoughts on this anyone?

Thanks,
M. Warble

ixmal
Offline
Joined: 2004-08-08

I don't see the described problem on my Vista/IE8 with 6u10-b32 (rc2). Could you attach a screenshot, please?

marvinpwarble
Offline
Joined: 2008-07-26

After installing updates for Windows Vista the problem has gone away. Thanks for taking the time to help.

M. Warble
www.galileo-riaf.com

ixmal
Offline
Joined: 2004-08-08

What kind of problem with Image rendering do you experience? Is it opaque image painted with AlphaComposite? It would be fine if you can provide a small test which can be used to demonstrate the problem.

marvinpwarble
Offline
Joined: 2008-07-26

For now I can give you a link to my demo which worked fine with RC1 and 6.7, etc.

http://www.galileoriaf.com/demos/explorer/explorer.html

Using RC2 with any browser causes the problem. You should notice the problem right away. The rendering is just completely messed up. Moving other windows over the browser causing repaints causes more erratic rendering.

Because Galileo is a UI framework built on top of AWT, it might be difficult to give you a simple example that demonstrates the problem.

I will try to reproduce the problem using straight AWT independent of Galileo. I will post some code if I'm successful in doing so.

Thanks,
M. Warble