JDK-6624717 : Corrupted combo box, GTK L&F, Ubuntu 7.10
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6,6u3,6u4,6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,linux_ubuntu,solaris_nevada
  • CPU: generic,x86
  • Submitted: 2007-11-01
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u12Fixed 7 b27Fixed OpenJDK6Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Description
Combo button on right side is not displayed correctly. I tried more themes - it is the same problem for all themes I tried eg Human, Clearlooks. It happens only on Ubuntu 7.10 but not 7.04 so it might be problem with GTK libs. It happens with JDK 6u3 and JDK 7 build 22. On console I get (6u3 for JDK 7b22 just numbers are different) :
(<unknown>:8407): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

(<unknown>:8407): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(<unknown>:8407): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

(<unknown>:8407): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

Comments
EVALUATION Rather then adding an arrow_button to combo_box_entry as a container directly we should the parent of the arrow_button to the combo_box_entry. Things work good and look good in this case.
07-04-2008