JDK-6603311 : Unable to read java6 rendered UI on SLES10 PPC32 in 256 color mode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u2
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86
  • Submitted: 2007-09-11
  • Updated: 2011-04-28
Related Reports
Relates :  
Description
OPERATING SYSTEM(S):
--------------------
Linux AMD64

FULL JDK VERSION(S):
-------------------
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)


STEPS TO REPRODUCE
--------------------
- Set the linux display settings to 256 color mode.
- java -jar SwingSet2.jar
- it will render the SwingSet2 UI
- Change the look and feel to "GTK Look and feel", you will not be
  able to see components like JCheckbox, JTree etc. properly.

Comments
EVALUATION This may indicate a bug in pixbuf scanning code (gtk2_copy_image() in gtk2_interface.c). We may be assuming 24bit color there. It may make sense to revisit this code if support for different color depth is needed. The best solution would be to rewrite it using Cairo alpha-enabled pixbufs and thus avoid drawing to the server-side pixmaps.
06-04-2009