Closed
Bug 52383
Opened 26 years ago
Closed 26 years ago
user style sheets broken
Categories
(Core Graveyard :: Skinability, defect, P2)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: akkzilla, Assigned: ccarlen)
Details
(Keywords: polish, regression, Whiteboard: [nsbeta3-][PDTP2])
Attachments
(2 files)
|
6.93 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.58 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla hasn't been able to load user style sheets for a couple of days now, and
prints the messages on startup:
CSSLoaderImpl::LoadAgentSheet: Load of URL
'file:///u/akkana/.mozilla/akkana/ChromeuserChrome.css' failed. Error code:
16389
CSSLoaderImpl::LoadAgentSheet: Load of URL
'file:///u/akkana/.mozilla/akkana/ChromeuserContent.css' failed. Error code:
16389
Note the lack of a slash between Chrome and userContent.css (and note also that
Chrome is capitalized, whereas the directory where we store the skin info is
called chrome, lower-case).
This seems to be a result of ccarlin's recent checkin to nsChromeRegistry.cpp.
| Reporter | ||
Comment 1•26 years ago
|
||
Nominate nsbeta3 since it breaks a feature which has been in and working fine
for quite a while.
| Assignee | ||
Comment 2•26 years ago
|
||
If the "Chrome" directory does not exist, there will not be a slash in the name.
If it does, the path is right and the stylesheets are loaded (if they exist). The
bug (on Unix) is that "Chrome" should be "chrome." The problem is not in
nsChromeRegistry but in a directory service provider. I'll fix it.
Status: NEW → ASSIGNED
Comment 3•26 years ago
|
||
There must always be a / on the end of mProfileRoot and mInstallRoot in
nsChromeRegistry.cpp. If you made a change that causes that / to not be there,
then this must be corrected.
Comment 4•26 years ago
|
||
I have reverted the chrome registry back to 1.152.
Comment 5•26 years ago
|
||
I believe there are possibly issues with the directory being returned without a
/ on the Mac. For now, I've backed out the changes to nsChromeRegistry.cpp.
If/when issues in the new API are resolved, send me another patch and also send
pinkerton a patch so he can test your changes on the Mac.
Thanks.
| Reporter | ||
Comment 6•26 years ago
|
||
Thanks! Ahhh, that looks much better.
| Assignee | ||
Comment 7•26 years ago
|
||
| Assignee | ||
Comment 8•26 years ago
|
||
Could folks please test this patch? Need to get it right this time. Note that two
bugs are blocked until nsIFileLocations is gone.
Blocks: 38626
Comment 9•26 years ago
|
||
Pink, can you try this on Mac and make sure the vanishing overlay problem is
solved with this patch?
No longer blocks: 38626
| Assignee | ||
Comment 10•26 years ago
|
||
I tested this already on the Mac. What exactly is the vanishing overlay problem?
Updated•26 years ago
|
Priority: P3 → P2
Whiteboard: [nsbeta3+]
Comment 11•26 years ago
|
||
PDT agrees P2, but without more info about what bad thing the user sees (e.g.
are style sheets in HTML documents broken?), this will be cut on 9/22.
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
| Assignee | ||
Comment 12•26 years ago
|
||
If my change to this is not put back in, it is preventing 38626 from being fixed.
That bug is a nsbeta3+ P1
| Assignee | ||
Comment 13•26 years ago
|
||
Comment 14•26 years ago
|
||
Bug 38626 is minused right now, so marking this nsbeta3- as well. Please
nominate for rtm with explanation if there's something about this we must fix
for Seamonkey RTM.
Whiteboard: [nsbeta3+][PDTP2] → [nsbeta3-][PDTP2]
| Assignee | ||
Comment 15•26 years ago
|
||
Should have invalidated this a long time ago since the code causing the problem
was backed out long ago.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Updated•18 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•