Closed Bug 130088 Opened 23 years ago Closed 23 years ago

Preferences not visible when upgrading from 6.0 or 6.01 to Trunk 3/07 or 3/11

Categories

(SeaMonkey :: Preferences, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: agracebush, Assigned: hewitt)

References

Details

(Keywords: verifyme, Whiteboard: [ADT1 rtm],custrtm- [ETA 06/27])

Attachments

(11 files, 1 obsolete file)

Steps to reproduce: 1. Install Netscape 6.0 (or 6.01) ( not tried 6.1 and up yet) 2. Install trunk build 2002031103 3. Go to preferences to turn on QuickLaunch Actual results: preferences not visible expected results: preferences visible to select and change
this is not happening on 6.1 upgrades -
Any JS console errors that weren't there before opening the prefs dialog? Is this happening to any other prefs or is it specific to the QuickLaunch pref?
Assignee: sgehani → law
Component: Preferences → QuickLaunch (AKA turbo mode)
QA Contact: sairuh → gbush
nope, not a QuickLaunch bug- cannot get to prefs to turn it on. Tried again with 3/18 build upgraded a 6.0 install the following messages came up in the console failed to load overlay chrome://messenger/content/mailActivationOVerlay.xul warning add child failed!! failed to load overlay chrome://communicator/content/pref/pref-IM_overlay.xul Warning add child failed!! (Activation failed to load today- intermittent problem) (prefs display was empty) am not seeing this on 6.1 and up upgrades- only 6.0 and 6.01 - not sure how many of these users we still have
Component: QuickLaunch (AKA turbo mode) → Preferences
QA Contact: gbush → sairuh
according to esther, help menu doesn't drop down and the mail address book advanced search dropdowns don't work. here's a theory: the 6.0 install leaves some component or jar default pref file behind that 6.0+ (including 6.1 and 6.2) didn't remove. (It didn't affect us, so it we probably never noticed.) Now, it affects us because mach v is different than earlier builds. can someone compare the contents of the "Netscape 6" directory (with this problem) to that of a pure "Netscape 7" directory, and see there are any files in one, but not the other?
Seth, I will attach two sets of diffs- one is comparison of 60 full setup type install to 70 full setup type install the other compares 60upgraded to 70 with a 70 install (both full setup type) Note in both there are lots of cvs files in the 60 installs which were subsequently removed that have no bearing. I also have another tool that gives a better visual comparison but the results cannot be saved to a file
nominating for rtm. This needs to be fixed.
Keywords: nsbeta1
nsbeta1+/ADT1 per Nav triage team. Bill, should't this be assigned to ben?
Keywords: nsbeta1nsbeta1+
Whiteboard: [ADT1]
Target Milestone: --- → mozilla1.0
Whiteboard: [ADT1] → [ADT1 rtm]
Either Ben (as the Pref man), or to mailnews (the js console messages seem to be only about mailnews). Seth, what do you think? Is this something that will have to be fixed in prefs, mailnews, or somewhere else?
Whiteboard: [ADT1 rtm] → [ADT1 rtm],custrtm-
The "failed to load overlay" message comes from here: http://lxr.mozilla.org/seamonkey/source/content/xul/document/src/nsXULDocument.c pp#7021 As it happens, both mailActivationOverlay.xul and pref-IM_overlay.xul are in the Netscape commercial tree. The former used to be under messenger/content and is now under messenger-ns/content. The latter seems to have undergone a similar name change (more precisely, "chrome location" change). The theory is that installing over a 6.0 installation leaves chrome registry residue that refers to the old names/locations. The possible fixes seem to be: 1. Add an installer API feature to enable the removal of such stale chrome registry entries, plus, installer script directives that use this to remove the ones causing the problem. This is probably too much work and too high risk. 2. Make the code that detects the error not fail so hard. I.e., have it treat the missing overlay the same as an empty overlay. Not sure how much work this wouild be or how risky. 3. Ship empty/dummy content located where the stale chrome registry entries are looking. This seems relatively easy and low risk. So who gets the bug? Ben doesn't sound like a proper victim, since it's just coincidence that the problem appears in prefs. I'm not a chrome registry guru so I don't really want it. I talked to Peter and he suggested Joe Hewitt. Joe knows this as well as anybody and can hopefully arrive at the proper fix.
Assignee: law → hewitt
This is a problem dveditz and I faced recently with a wallet overlay...this really needs to be dealt with somehow at the installer level, but agreed that that's a lot of work at this point. If I recall correctly, we just solved the wallet problem with solution 3 (use a dummy file), didn't we?
We will somehow need to figure out all of the files that have changed location -- there must be more, if things like the help menu don't work (comment 4). Is this *only* a problem when upgrading from 6.0 to current trunk? It looks like pref-IM_overlay.xul, for example, changed location way back in March 2001. This maens upgrading from 6.0 to 6.1 should be problematic, too.
When I watched Esther try this out, it looks like from 6.0 to 6.1 worked fine but if you then installed 7.0 it broke.
We just need to delete everything in the /overlayinfo directory, which contains the references to these now-defunct overlays. chrome.rdf gets regenerated after an install (due to the touched installed-chrome.txt), but the overlay stuff doesn't, so we should clean it. It just gets rebuilt anyway. Installer has the ability to remove files - but I'm not sure if it can remove an entire directory and its contents.
Blocks: 143047
Joe, did you need help on this, or mean to reassign it?
Whiteboard: [ADT1 rtm],custrtm- → [ADT1 rtm],custrtm- [ETA needed]
Attached patch this oughta do it (obsolete) — Splinter Review
This patch just puts the missing files back in the location they are expected in.
Whiteboard: [ADT1 rtm],custrtm- [ETA needed] → [ADT1 rtm],custrtm-
dveditz/blake - is this something you can r= and/or sr=?
Whiteboard: [ADT1 rtm],custrtm- → [ADT1 rtm],custrtm- [ETA 06/19] [needs reviews]
Whiteboard: [ADT1 rtm],custrtm- [ETA 06/19] [needs reviews] → [ADT1 rtm],custrtm- [ETA 06/21] [needs reviews]
Comment on attachment 87743 [details] [diff] [review] this oughta do it r=sgehani
Attachment #87743 - Flags: review+
Comment on attachment 87743 [details] [diff] [review] this oughta do it >+ content/communicator/pref-IM_overlay.xul (pref/pref-IM_overlay.xul) > content/aim/pref-IM_overlay.xul (pref/pref-IM_overlay.xul) >+ content/messenger/mailActivationOverlay.xul (base/resources/content/mailActivationOverlay.xul) > content/messenger-ns/mailActivationOverlay.xul (base/resources/content/mailActivationOverlay.xul) This seems a bit too clever, I'd be much happier with zero-length dummy files as used in previous instances. I suppose this works, but it bloats the chrome .jar and means that people who suffer from this bug will now have to parse these overlays twice, hurting performance and probably adding to footprint (or do we throw away the duplicate nodes?). I'm also concerned about the implications in comment 4 that these aren't the only ones. We need to compare the chrome/overlayinfo files in the 6.0-upgraded case against a plain 7.0 install. To be safe we should compare these files for 6.1 and 6.2 with 7.0 as well, just in case some overlay came and went in the meantime.
K'trina is working on diffing the chrome/overlayinfo directories of 6.{0,1,2} upgraded to 7.0 vs. a pure 7.0 installation to address Dan's concern.
I'm seeing this too, on all three of my machines (two Win2k, and one WinXP). Nothing out of the ordinary in terms of upgrading, just installing daily builds in the same directory for the last year or so.
spoke w/k'trina, and giving this over to her as she's actively looking into it.
QA Contact: sairuh → ktrina
what are the chances this is gonna be ready by wednesday, 06/27?
Whiteboard: [ADT1 rtm],custrtm- [ETA 06/21] [needs reviews] → [ADT1 rtm],custrtm- [ETA 06/27] [needs reviews]
Target Milestone: mozilla1.0 → mozilla1.0.1
Attached patch patchSplinter Review
This approach is pretty uncomplicated - I just use one file "dummyOverlay.xul" which I copy into the appropriate places via the jar.mn. Reviews?
Attachment #87743 - Attachment is obsolete: true
Comment on attachment 89036 [details] [diff] [review] patch sr=dveditz
Attachment #89036 - Flags: superreview+
Comment on attachment 89036 [details] [diff] [review] patch r=jag
Attachment #89036 - Flags: review+
fixed checked into trunk
Status: NEW → ASSIGNED
thanks joe! ktrina - can you pls verify this on the trunk today, so we can take it on the branch this evening? thanks!
Whiteboard: [ADT1 rtm],custrtm- [ETA 06/27] [needs reviews] → [ADT1 rtm],custrtm- [ETA 06/27]
resolving as fixed per Comment #31 From Joe Hewitt.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Keywords: adt1.0.1
I verified the code fix. hewitt, I also did new upgrade comparisons so I was wondering if you can check it out before I mark it verified. I will attach the comparisons. And I submitted bug 154243 because I received XPCOM errors on the upgrades from 6.0 to 7.0 trunk and 6.1 to 7.0 trunk. When I upgraded from 6.2 to 7.0 trunk I received a dialog that prompted me to restart my machine.
K'Trina, I'm trying to make use of your comparisons, but I think I need them done a little differently. Can you compare the overlays.rdf from a pure 6.0 install against a pure 7.0 install? That would give me the data I really need. Comparing a 6.0 with 7.0 installed over it doesn't really help.
hewitt, here is the comparison of 60 pure and 70 pure. Let me know if you need 6.1 and 6.2 comparisons as well.
Over in bug 140104 mscott is running into similar, but not as easily solved problem because they don't want an existing overlay hooked into a spot it used to be hooked. They can't just dummy it out because the same overlay is used in another spot. They're leaning toward the "zap the chrome registry on install" solution as well.
I'm not clear if we believe this is fixed. Has this been verified on the trunk? We need to land this on the branch as soon as we can.
The fix for bug 140104 will resolve any remaining issues. Kind of obsoletes this patch, actually. We can remove the dummy files from the trunk in the future.
I am unable to verify this on trunk - I tried both full and recommended 6.0 installs, upgraded to 628 trunk builds. I get an 'event receiver' error - followed by a crash I will attach error message
entry point error is something else, just means there's an old component left over. Not a big deal on the trunk, we'll clean it up before the next milestone. bug 154243
Did 140104 fix this on the branch?
this is fixed on branch build 2002070108 will someone add the correct keywords and I will add verified1.0.1?
adding fixed1.0.1
Keywords: fixed1.0.1
Keywords: adt1.0.1
Verified. The fix for bug 140104 resolved remaining issues.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: