OpenGL or incorrect display of icons. With the recent changes to support Plastic themes, I experiment now problems when displaying some icons: they are unstable, sometimes the wrong icon is displayed for buttons, and the selected icon changes sporadicly. In a row of graphic buttons (for example tabs at the top, or the row of action buttons for the search results), it happens that all these buttons are showing the same icon, and then they change without user action, or when the mouse cursor passes over it.
However this never happens for the small icons of media selectors, or for file icons.
I think that this is related to the new message I see on the console when starting LimeWire:
OpenGL pipeline enabled for default config on screen 0
(this message appears as the first line of output, before any other debug output generated by LimeWire itself, after that Java VM has been created but still when LimeWire is loading).
Is it possible that the recent Microsoft patch for GDI+ in Windows XP has changed the behavior of Java2D for JPEGs, but possibly too for GIFs and PNGs?
(Note: I see that with the most recent version of the JDK 1.5-beta2)
Is it a bug of Java, or Windows, or of the Plastic Theme integration?
I don't see this message in other Swing apps with the same VM on the same host. I can't see why LimeWire would need OpenGL here, or what can cause Java2D to enable it. Apparently the display bug looks very much like a synchronization issue in the management of the graphic renderer (would it use a pipeline which does not work properly with OpenGL?).
I tried with the Java 1.4.1 JRE, and I have the same display problem (but not the OpenGL message above). Is this bug within the new PlasticTheme library? Does it use OpenGL? |