Closed
Bug 518120
Opened 15 years ago
Closed 15 years ago
Lightweight theme not applied to navigation, bookmarks bar
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 515862
People
(Reporter: johnath, Unassigned)
Details
Attachments
(2 files)
Using current trunk and dao's JS snippet to install the lolface persona:
> Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {id:"2538",name:"LOLFace",dominantColor:"#6b6b6b",textColor:"white",headerURL:"http://getpersonas.com/static/3/8/2538/LOL.png",footerURL:"http://getpersonas.com/static/3/8/2538/LOL2.png"}
I end up with the persona applied to my status bar and a toolbar added by an addon (as well as new toolbars I add via "Customize...") but not to my navigation and bookmarks toolbars. This occurs on new profiles as well. I see the same behaviour using a version of the test page Dao attached in bug 511771 (http://people.mozilla.org/~johnath/tmp/personatest.html).
I'm provisionally assigning this to Dao, though Dave mentioned on IRC that he had a suspicion as to the cause. Please feel free to reassign.
Marking this as blocking since it occurs on new profiles and hence seems to not be just-me?
Flags: blocking-firefox3.6+
Comment 1•15 years ago
|
||
wfm on Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20090922 Minefield/3.7a1pre (.NET CLR 3.5.30729)
Comment 2•15 years ago
|
||
Dave, what's your suspicion?
This isn't a problem for everyone on Mac, is it?
Comment 3•15 years ago
|
||
It's not a problem for me.
Comment 4•15 years ago
|
||
(In reply to comment #2)
> Dave, what's your suspicion?
I misunderstood the situation when johnath first described it to me. I'm not sure what might be happening now, it works fine for me.
Comment 5•15 years ago
|
||
The screenshot seems to indicate that the background image was applied but the root element doesn't get the lwtheme attribute, which would be a bug in LightweightThemeConsumer.jsm. I still don't see how that could happen, though.
Component: General → XUL Widgets
Flags: blocking-firefox3.6+
Keywords: qawanted
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Comment 6•15 years ago
|
||
The screenshot also shows that -moz-appearance: none is set on the #nav-bar, but background: none isn't.
Reporter | ||
Comment 7•15 years ago
|
||
Dao - let me know if there are things you want me to DOM inspect or otherwise check - it's quite reproducible for me, including new profiles.
Comment 8•15 years ago
|
||
Yes, I'd like to know whether the root window element has the lwtheme attribute, and which style rules apply to the navigation toolbar (nav-bar).
Reporter | ||
Comment 9•15 years ago
|
||
(In reply to comment #8)
> Yes, I'd like to know whether the root window element has the lwtheme
> attribute, and which style rules apply to the navigation toolbar (nav-bar).
#main-window does have lwtheme=true
#nav-bar has these styles applied - http://www.grabup.com/uploads/17a71400105332f3a9204ed7c69b83a2.png (sorry for the external link - I can attach here if you prefer, but this was quicker and I'm rushing off to another thing.)
Comment 10•15 years ago
|
||
Could it be that your browser/themes/pinstripe/browser/browser.css isn't up to date?
Reporter | ||
Comment 11•15 years ago
|
||
(In reply to comment #10)
> Could it be that your browser/themes/pinstripe/browser/browser.css isn't up to
> date?
Hmm, my tree's up to date - going to blow away my objdir and see if I have any staleness there.
Comment 12•15 years ago
|
||
I suspect this is a duplicate of bug 515862.
Reporter | ||
Comment 13•15 years ago
|
||
(In reply to comment #12)
> I suspect this is a duplicate of bug 515862.
Yep.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•