Closed Bug 517490 Opened 15 years ago Closed 15 years ago

Border underneath the titlebar doesn't get applied when switching on a lightweight theme

Categories

(Firefox :: General, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a1

People

(Reporter: mossop, Assigned: mstange)

References

Details

(Whiteboard: [fixed by bug 461291])

Attachments

(2 files)

The default theme has no border between the titlebar and toolbars. If you apply a lightweight theme then there still is no border between them. After opening a new window there is a border between the two. I suspect having the border is best if we aren't altering the titlebar colour but whichever we should be consistent.
dave, how do apply a lightweight test theme here? Do you have a testcase i can use to play with? Thanks.
If you need to test before installation support has landed then I guess you can use the hack in bug 510909 comment 39
This is similar to bug 461291 and a general problem with the unified titlebar drawing setup. In order to construct the right gradient in the titlebar, the window needs to know the height of the toolbar. But it only gets notified about changes in the toolbar height while the toolbar gradient is being drawn. But if the toolbar suddenly gets invisible, or if a lightweight theme replaces -moz-appearance: -moz-mac-unified-toolbar, it won't be drawn, so it can't notify the window about a change in height.
Assignee: nobody → mstange
(In reply to comment #3) > dave, how do apply a lightweight test theme here? Do you have a testcase i > can use to play with? Thanks. Tony, if you still need a test site while we wait for getpersonas.com to support the native browser using the gallery (bug 518806), you can use this page: http://people.mozilla.org/~johnath/tmp/personatest.html It's just a slight modification of one of Dao's test cases, but it works. (You'll need to edit the permissions in Page Info to trust people.mozilla.org to install Themes/Extensions if you want preview-on-hover to work).
The patch in bug 461291 fixes this.
Depends on: 461291
Can this be closed?
Yes.
Status: NEW → RESOLVED
Closed: 15 years ago
Hardware: x86 → All
Resolution: --- → FIXED
Whiteboard: [fixed by bug 461291]
Target Milestone: --- → Firefox 3.7a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: