Closed Bug 361193 Opened 18 years ago Closed 18 years ago

In suiterunner preferences, advanced -> Mousewheel pane doesn't display

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files, 1 obsolete file)

When attempting to view advanced -> mousewheel, the pane doesn't display and the following error is displayed instead: XML Parsing Error: undefined entity Location: chrome://communicator/content/pref/pref-mousewheel.xul Line Number 102, Column 7: <tab label="&usingWheelAndAlt.label;"/> This looks like pref-mousewheel.dtd isn't being included - but as far as I can tell it is. So I'm not quite sure what is happening here.
The problem here is that pref-mousewheel.xul calls up pref-mousewheel.dtd which in turn defines: <!ENTITY usingWheelAndAlt.label "&altKey.label;"> <!ENTITY usingWheelAndCtrl.label "&ctrlKey.label;"> <!ENTITY usingWheelAndShft.label "&shiftKey.label;"> The *Key.label etc are defined in http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/locale/en-US/unix/platformDialogOverlay.dtd which we're no longer including in suiterunner builds. Interestingly ff does it like this: http://lxr.mozilla.org/seamonkey/source/browser/locales/en-US/chrome/help/platformStrings.dtd#26 So I'm not quite sure of what we should really be doing here.
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
I'm still checking this, but I think this is the way to go.
Assignee: prefs → bugzilla
Status: NEW → ASSIGNED
Attached patch Patch v1a (deleted) — Splinter Review
This patch works on linux xpfe & toolkit versions. I think windows should be ok, as turboDialog.xul used to need platformDialogOverlay.dtd but doesn't appear to now, pref-winhooks.xul doesn't seem to need that dtd either. The only change from Patch v1a is that I changed some tabs to spaces in the platformCommunicatorOverlay.dtd files - I wanted to sort out the lining up, and ended up changing most of those files.
Attachment #246394 - Attachment is obsolete: true
Attachment #246408 - Flags: superreview?(neil)
Attachment #246408 - Flags: review?(kairo)
Comment on attachment 246408 [details] [diff] [review] Patch v1a r=me on those changes. Note that I can't test Windows as well, I hope Neil will be able to take a look on that being OK. I like how a suiterunner patch doesn't need to make a difference between xpfe SeaMonkey and suiterunner ;-)
Attachment #246408 - Flags: review?(kairo) → review+
Attachment #246408 - Flags: superreview?(neil) → superreview+
Patch checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 361883
I backed out the xpfe parts of patch v1a to fix the regression detailed in bug 361883. Not sure how I missed that. This means I need to file a follow up patch to remove some now obsolete prefs from platformDialogOverlay.dtd
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Remove obsolete xpfe strings (deleted) — Splinter Review
This patch removes the strings from the xpfe dtd files that are no longer used - because we now have them in platformCommunicatorOverlay.dtd.
Attachment #247272 - Flags: review?(kairo)
Comment on attachment 247272 [details] [diff] [review] Remove obsolete xpfe strings Looks good to me :)
Attachment #247272 - Flags: review?(kairo) → review+
Remove obsolete xpfe strings patch checked in -> fixed.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: