Closed Bug 245497 Opened 20 years ago Closed 17 years ago

statusbar displayed wrong (not obeying gtk theme)

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: Biesinger, Assigned: twanno)

References

Details

Attachments

(4 files, 1 obsolete file)

I'm using the gtk theme smokey blue
(gtk 2.4, gnome 2.6)

mozilla shows a grey status bar, instead of a blueish one that other gtk apps show.
attaching a screenshot in a second.
Attached image screenshot
at the top: gedit statusbar

at the bottom: mozilla statusbar
*** Bug 322775 has been marked as a duplicate of this bug. ***
This should be fixed because it makes Firefox look really bad on Linux.
Flags: blocking1.9?
Assignee: blizzard → nobody
Component: GFX: Gtk → OS Integration
Flags: blocking1.9?
Product: Core → Firefox
QA Contact: ian → os.integration
I almost have a patch ready, but I think this should really be a Core->Widget:GTK bug.
Component: OS Integration → Widget: Gtk
Product: Firefox → Core
QA Contact: os.integration → gtk
Status: NEW → ASSIGNED
Assignee: nobody → twanno
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Screenshot of three windows (from top to bottom: Nautilus, Firefox trunk with upcoming patch, Firefox 2.0) and three different themes (from top to bottom: Clearlooks-Gull, Simple, Clearlooks).
Attached patch patch (obsolete) — Splinter Review
This patch makes the frame widgets representing the statusbar panels actual children of a statusbar widget, so they get styled correctly.

It also makes the background of the resizer grip to be styled corectly, by drawing a frame for the resizer grip.
Attachment #288771 - Flags: superreview?(roc)
Attachment #288771 - Flags: review?(roc)
Do we have resizers that aren't part of a status bar? I think we might. Would this break them?
Attached patch patch v2Splinter Review
Actually, I didn't think of resizers at other places than the status bar, but the previous patch didn't break them.

But because a frame on a status bar is all the status bar resizer needs for a correct styling, I'll leave the status bar dependency for the resizer out of this patch, and let it just depend on a window (as originally).
Attachment #288771 - Attachment is obsolete: true
Attachment #288786 - Flags: superreview?(roc)
Attachment #288786 - Flags: review?(roc)
Attachment #288771 - Flags: superreview?(roc)
Attachment #288771 - Flags: review?(roc)
Attachment #288786 - Flags: superreview?(roc)
Attachment #288786 - Flags: superreview+
Attachment #288786 - Flags: review?(roc)
Attachment #288786 - Flags: review+
Comment on attachment 288786 [details] [diff] [review]
patch v2

Small patch that lets the statusbar be natively themed on Linux.
Attachment #288786 - Flags: approval1.9?
Comment on attachment 288786 [details] [diff] [review]
patch v2

Great stuff!
Attachment #288786 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in widget/src/gtk2/gtk2drawing.c;
/cvsroot/mozilla/widget/src/gtk2/gtk2drawing.c,v  <--  gtk2drawing.c
new revision: 1.40; previous revision: 1.39
done
Checking in widget/src/gtk2/nsNativeThemeGTK.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp,v  <--  nsNativeThemeGTK.cpp
new revision: 1.113; previous revision: 1.112
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
noticed recently that the firefox status bar still does not fully match what's defined by the gtk theme. seems the margin in between status bar cells is ignored by the fox.

I'm using the murrine-clearlook theme.

should this bug be reopened?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: