Closed Bug 426322 Opened 17 years ago Closed 17 years ago

native ComboBox arrow is not rendered correctly with GNOME nimbus theme

Categories

(Core :: Widget: Gtk, defect)

x86
OpenSolaris
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

Filed from Bug 415830 comment 31 - 33 Screenshot at https://bugzilla.mozilla.org/attachment.cgi?id=310214 This bug is important on Solaris, because nimbus is the default theme of Solaris Nevada. I checked nimbus engine source code, for gtk_paint_arrow, it queries allocation of arrow widget's grandparent, and width of GtkVSeparator. I don't know whether it is correct to do so in gtk_paint_arrow(). I proposed a patch to get around.
Attached patch patchSplinter Review
gComboBoxArrowWidget's grandparent is gComboBoxButtonWidget. Setting allocate of gComboBoxWidget will apply to both gComboBoxButtonWidget and gComboBoxSeparatorWidget.
Attachment #312892 - Flags: review?(roc)
Attachment #312892 - Flags: superreview+
Attachment #312892 - Flags: review?(twanno)
Attachment #312892 - Flags: review?(roc)
Attachment #312892 - Flags: review?(twanno) → review+
Attachment #312892 - Flags: approval1.9?
Need a testcase here. Approval pending test.
Comment on attachment 312892 [details] [diff] [review] patch re-request approval when we have a test.
Attachment #312892 - Flags: approval1.9?
testcase can be https://bugzilla.mozilla.org/query.cgi or any page with OPTION Do I need to add it to somewhere?
This isn't something that can be automatically tested, as it's an issue with one particular GNOME theme. You could do a Litmus test for it, I guess, but that's pushing it.
Flags: in-litmus?
Attachment #312892 - Flags: approval1.9?
Comment on attachment 312892 [details] [diff] [review] patch a=beltzner, and yes, a litmus test would be good
Attachment #312892 - Flags: approval1.9? → approval1.9+
Checking in gtk2drawing.c; /cvsroot/mozilla/widget/src/gtk2/gtk2drawing.c,v <-- gtk2drawing.c new revision: 1.105; previous revision: 1.104 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: