United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6624717 Corrupted combo box, GTK L&F, Ubuntu 7.10
JDK-6624717 : Corrupted combo box, GTK L&F, Ubuntu 7.10

Details
Type:
Bug
Submit Date:
2007-11-01
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
client-libs
OS:
linux_ubuntu,linux,solaris_nevada
Sub-Component:
javax.swing
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6,6u3,6u4,6u5
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

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.
                                     
2008-04-07



Hardware and Software, Engineered to Work Together