Closed Bug 52383 Opened 26 years ago Closed 26 years ago

user style sheets broken

Categories

(Core Graveyard :: Skinability, defect, P2)

x86
Linux

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: akkzilla, Assigned: ccarlen)

Details

(Keywords: polish, regression, Whiteboard: [nsbeta3-][PDTP2])

Attachments

(2 files)

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.
Nominate nsbeta3 since it breaks a feature which has been in and working fine for quite a while.
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
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.
I have reverted the chrome registry back to 1.152.
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.
Thanks! Ahhh, that looks much better.
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
Pink, can you try this on Mac and make sure the vanishing overlay problem is solved with this patch?
No longer blocks: 38626
I tested this already on the Mac. What exactly is the vanishing overlay problem?
Priority: P3 → P2
Whiteboard: [nsbeta3+]
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]
If my change to this is not put back in, it is preventing 38626 from being fixed. That bug is a nsbeta3+ P1
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]
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
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: