Closed
Bug 289750
Opened 20 years ago
Closed 20 years ago
File-Open File... in MailNews does nothing
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mcsmurf, Assigned: iannbugzilla)
Details
(Keywords: regression)
Attachments
(1 file, 3 obsolete files)
12.81 KB,
patch
|
iannbugzilla
:
review+
Bienvenu
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
To reproduce:
1. Open MailNews
2. File->Open File...
3. Nothing happens
This regressed between 2005-04-05-06 and 2005-04-06-06, one checkin from Bug
288366 looks suspicious, CCing folks.
This patch:
* Swaps command back to observes where there is also an oncommand
Alternative approach is to make sure the relevant cmd_xxx calls what is in the
oncommand so that the oncommand can be removed.
Assignee: sspitzer → bugzilla
Status: NEW → ASSIGNED
Attachment #180236 -
Flags: review?(neil.parkwaycc.co.uk)
Keywords: regression
Comment 2•20 years ago
|
||
Comment on attachment 180236 [details] [diff] [review]
Do not mix patch v0.1
>- command="cmd_openFileMessage"
>+ observes="cmd_openFileMessage"
As there's no such command, there's no point observing it.
>- <menuitem id="menu_undo" label="&undoDefaultCmd.label;" accesskey="&undoDefaultCmd.accesskey;" key="key_undo" command="cmd_undo" oncommand="Undo()"/>
>- <menuitem id="menu_redo" label="&redoDefaultCmd.label;" accesskey="&redoDefaultCmd.accesskey;" key="key_redo" command="cmd_redo" oncommand="Redo()"/>
>+ <menuitem id="menu_undo" label="&undoDefaultCmd.label;" accesskey="&undoDefaultCmd.accesskey;" key="key_undo" observes="cmd_undo" oncommand="Undo()"/>
>+ <menuitem id="menu_redo" label="&redoDefaultCmd.label;" accesskey="&redoDefaultCmd.accesskey;" key="key_redo" observes="cmd_redo" oncommand="Redo()"/>
Stop me if I'm wrong, but doesn't utilityOverlay.xul already add the label,
key, accesskey and command to these elements? In which case whatever we do here
will have no effect and we'll need to fix this in a separate bug.
> oncommand="CreateFilter(document.popupNode)"
>- command="cmd_createFilterFromPopup"/>
>+ observes="cmd_createFilterFromPopup"/>
> oncommand="CreateFilter(document.popupNode)"
>- command="cmd_createFilterFromPopup"/>
>+ observes="cmd_createFilterFromPopup"/>
> oncommand="CreateFilter(document.popupNode)"
>- command="cmd_createFilterFromPopup"/>
>+ observes="cmd_createFilterFromPopup"/>
Yes, this oncommand should be centralised on the command element.
Attachment #180236 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Changes since v0.1a
* Centralises the oncommand for "cmd_createFilterFromPopup"
* Removes unused observer "cmd_openFileMessage"
* Removes changes to undo/redo in v0.1
Attachment #180236 -
Attachment is obsolete: true
Attachment #180273 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #180273 -
Flags: review?(neil.parkwaycc.co.uk)
Changes since v0.1a
* Removed unused parts of menuitems for menu_undo and menu_redo
* Removed unused accesskeys from messenger.dtd
* Corrected accesskeys in utilityOverlay.dtd
Attachment #180273 -
Attachment is obsolete: true
Attachment #180281 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 5•20 years ago
|
||
Comment on attachment 180281 [details] [diff] [review]
Updated patch v0.1b
function Undo() and function Redo() aren't used any more are they?
Attachment #180281 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Changes since v0.1b
* Removed Undo/Redo functions from commandglue.js - as suggested by Neil
Carrying forward r=
Attachment #180281 -
Attachment is obsolete: true
Attachment #180294 -
Flags: superreview?(bienvenu)
Attachment #180294 -
Flags: review+
Updated•20 years ago
|
Attachment #180294 -
Flags: superreview?(bienvenu) → superreview+
Comment on attachment 180294 [details] [diff] [review]
Tweaked NoDo patch v0.1c (Checked in)
Requesting a=
Fairly low risk patch that fixes a regression on the trunk from landing of bug
288366
Attachment #180294 -
Flags: approval1.8b2?
Comment 8•20 years ago
|
||
Comment on attachment 180294 [details] [diff] [review]
Tweaked NoDo patch v0.1c (Checked in)
a=asa
Attachment #180294 -
Flags: approval1.8b2? → approval1.8b2+
Comment on attachment 180294 [details] [diff] [review]
Tweaked NoDo patch v0.1c (Checked in)
Checking in xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd;
/cvsroot/mozilla/xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd,v
<-- utilityOverlay.dtd
new revision: 1.29; previous revision: 1.28
done
Checking in mailnews/base/resources/locale/en-US/messenger.dtd;
/cvsroot/mozilla/mailnews/base/resources/locale/en-US/messenger.dtd,v <--
messenger.dtd
new revision: 1.198; previous revision: 1.197
done
Checking in mailnews/base/resources/content/mailWindowOverlay.xul;
/cvsroot/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul,v <--
mailWindowOverlay.xul
new revision: 1.291; previous revision: 1.290
done
Checking in mailnews/base/resources/content/mail3PaneWindowCommands.js;
/cvsroot/mozilla/mailnews/base/resources/content/mail3PaneWindowCommands.js,v
<-- mail3PaneWindowCommands.js
new revision: 1.143; previous revision: 1.142
done
Checking in mailnews/base/resources/content/mail3PaneWindowVertLayout.xul;
/cvsroot/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul,
v <-- mail3PaneWindowVertLayout.xul
new revision: 1.105; previous revision: 1.104
done
Checking in mailnews/base/resources/content/messenger.xul;
/cvsroot/mozilla/mailnews/base/resources/content/messenger.xul,v <--
messenger.xul
new revision: 1.257; previous revision: 1.256
done
Checking in mailnews/base/resources/content/messageWindow.js;
/cvsroot/mozilla/mailnews/base/resources/content/messageWindow.js,v <--
messageWindow.js
new revision: 1.104; previous revision: 1.103
done
Checking in mailnews/base/resources/content/messageWindow.xul;
/cvsroot/mozilla/mailnews/base/resources/content/messageWindow.xul,v <--
messageWindow.xul
new revision: 1.80; previous revision: 1.79
done
Checking in mailnews/base/resources/content/commandglue.js;
/cvsroot/mozilla/mailnews/base/resources/content/commandglue.js,v <--
commandglue.js
new revision: 1.255; previous revision: 1.254
done
Attachment #180294 -
Attachment description: Tweaked NoDo patch v0.1c → Tweaked NoDo patch v0.1c (Checked in)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED using build 2005-04-18-05 on Windows XP Seamonkey trunk.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•