[Pidgin] #13164: Editable comboboxes are implemented incorrectly

Pidgin trac at pidgin.im
Thu Jan 6 09:20:11 EST 2011


#13164: Editable comboboxes are implemented incorrectly
----------------------+-----------------------------------------------------
 Reporter:  10110111  |        Owner:              
     Type:  defect    |       Status:  new         
Milestone:  2.7.10    |    Component:  pidgin (gtk)
  Version:  2.7.1     |   Resolution:              
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by hpereiradacosta):

 See screenshot above for the fixed version.
 This is with oxygen-gtk.
 Latest QtCurve shows the same issue, and gets fixed just the same by the
 patch.
 Though they represent the comboboxentries in similar ways, the code base
 is between both styles is _very_ different (if only because oxygen-gtk is
 in c++). So this is not a style bug.

 The 'fundamental' issue, is that certain styles can decide do draw a
 GtkComboBoxEntry in a different way than a (non editable) ComboBox
 (especially for the button part).

 Therefore: a GtkComboBox (with a GtkEntry on top of it), would not be
 drawn as a GtkComboBoxEntry (as is intended).

 This is best illustrated by comparing the first widget in the screenshot
 (the 'account'), to the last one (the 'group').

 I hope this makes sense.

 Finally, styles for which the combobox arrow-button is rendered the same
 for GtkComboBox and GtkComboBox entry
 1/ were not affected by the bug (due to the above)
 2/ are not affected by the patch, either.

 Just tested with some other simple gtk styles (and can send screenshots
 too, if requested).
 Unfortunately, I don't have more modern styles/engines like e.g.
 clearlooks, or even murine, installed here, to test further.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13164#comment:6>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list