Closed Bug 124902 Opened 23 years ago Closed 23 years ago

Help in Preferences dialog does nothing

Categories

(SeaMonkey :: Help Documentation, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: tpreston, Assigned: oeschger)

References

Details

Attachments

(4 files)

Steps to reproduce: 1. From the Edit drop down menu, select preferences 2. Click on the help button Expected results: Help window should appear Actual results: Nothing happens (Sorry if there is already a bug but I didn't see one) I see this on Win XP build 2002021108, Mac OS X 2002021108, and linux build 2002021112
Not at all, Terri. We need this bug. We broke context-sensitive help when we checked in our update (as we expected), and we need to fix it again as soon as possible. I have the patches for this in 124273, but it might be better to put them here and track them separately. Also having to deal with 124882 and whether that will be resolved this round or the next. Thanks.
Status: NEW → ASSIGNED
Also seen on windows 98 as well (commercial netscape build: 2002-02-12-06-trunk
Also includes an update to the test.xul file showing the new sytnax for asking for help from the UI. Note that in Mozilla, you do not have to call setHelpFileURI() at all; this is a facility for specifying some help system other than the one loaded by default, which is mozillahelp.rdf
Blocks: 124273
nsbeta1+, setting milestone.
Keywords: nsbeta1+
Target Milestone: --- → mozilla0.9.9
Note: it might be better to include the file contextHelp.js somewhere lower down so everyone can get it. It's small (now), and if it was included in something general like tasksOverlay.xul or communicatorOverlay.xul (I can't remember which file is meant for this basic everyone-in-the-browser-gets-it facility), then you could call openHelp() anywhere in the UI w/o explicitly including this file. Further: if we overlay into the overlay (i.e., with a XUL file that includes only the script), then we can separate out the help _extension_ a little better than we are now.
adding sr=alecf on alec's behalf. Also note the following minor adjustment to the mailnews/base/prefs/resources/content diff in this zip file, where alec noticed a place I had not updated the syntax of the call to openHelp() properly: > openHelp('mail'); ...is what it should say instead of openHelp('?mail').
Comment on attachment 69416 [details] [diff] [review] updates to help system to support context-sensitive help r=andreww
Attachment #69416 - Flags: review+
a=asa (on behalf of drivers) for checkin to 0.9.9
Keywords: mozilla0.9.9+
I'd like to leave this open so we can test all the buttons and note any problems here. But the check-in went in last night, so we ought to see the cs help restored in this morning's build. Thanks, Asa.
seems to work with build 2002022603 for XP. However, clicking OK in the PREFERENCES window takes a LONG time to process. What i did : i expand every item in the PREFERNCE window and browse through the entire tree (i was looking for new items), arriving at the end i clicked OK. Perhaps mozilla writes every entry that was opened to the preference file, even though nothing was changed?
These buttons didn't get updated with our check-in on Monday night, so cs help is still not hooked up here. Need to have this reviewed by the security team and shoved in ASAP.
Just checked in some follow-ups to this restoration. For some reason I missed a couple of the syntax updates in the security manager code. These files just got updated: M certViewer.xul M changepassword.xul M choosetoken.xul M clientauthask.xul M device_manager.xul M domainMismatch.xul M downloadcert.xul M editcacert.xul M editsslcert.xul M escrowWarn.xul M getp12password.xul M setp12password.xul
Unfortunately, this one also got left behind. I didn't include it in the first cs patch, but the Help menu should be a client of the New Way too. I think that in recent builds the menu item may not be working at all from Mail for this very reason (verify anyone?). A good excuse to get this in as soon as possible.
Ian, what was the Help menu item issue? This bug was about the Prefs dialog. The summary of the bug should be updated, but I'm not sure what you were fixing. The help menu in the early build of 2/27 (commercial trunk) works from the Mail window. When I first tried to open Help from Mail, I got a blank iframe on the right---the ToC was there, but no main page. I've seen this intermittently, though. Anyone else seen this? I can't duplicate. The next time I opened mail (even in a new session), things worked fine. The Help menu now works in the Mail Compose window! I thought that there was still an outstanding (and futured) bug against Bhuvan to fix that. The Help menu in the History window is still off, though. Bookmarks Help menu is fine. Ditto for Address Book.
I was using this bug as a way to track all of the restoration of the context-sensitive help, metonymy-wise. The help menu still uses toOpenHelpWindowByType(), which is defined somewhere that not everyone in the UI picks up, evidenly. In this patch, I explicitly load the JS file, so it's portable: wherever this file overlays, it will open Help.
These three files also needed updating in the tree with the new and improved syntax. I have just done so. M serverCertExpired.xul M serverCrlExpired.xul M serverCrlNextupdate.xul
Marking FIXED. After fixing the problem actually being addressed here, I used this bug as a way to track buttons still needed in the UI, but we have another bug for that now at 129540
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified fixed win XP build 2002032803, Mac OS X build 2002040203 and linux build 2002040211
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: