Open
Bug 109205
Opened 24 years ago
Updated 3 years ago
override the commandset for globalEditMenuItems and goUpdateSelectEditMenuItems
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: mscott, Unassigned)
Details
(Keywords: perf)
Currently every focus and select events triggers command updating for the
following two command sets:
goUpdateSelectEditMenuItems
globalEditMenuItems
this is because those commandsets are defined in utilityOverlay.xul and we (in
mailnews) don't have any control over them.
We recently made some huge performance wins in mailnews compose and in the
3-pane by creating custom events which we fire only when we want certain
commands to be updated. These 2 command sets were the only 2 which couldn't be
converted because they were defined outside of our control.
I just discovered in Bug #108761, that it's possible to "override" those command
sets with our own custom events by redefining the command set in an overly that
gets brought in AFTER utilityOverlay.xul.
We need to make the same change I made in 108761 to the compose window. this
will remove the last of the unncessary command updating you still see.
In particular:
cmd_undo, cmd_redo, cmd_delete
Updated•24 years ago
|
QA Contact: sheelar → stephend
Updated•24 years ago
|
Updated•24 years ago
|
Comment 3•23 years ago
|
||
taking all of varada's bugs.
Assignee: varada → sspitzer
Status: ASSIGNED → NEW
Updated•21 years ago
|
Product: MailNews → Core
Comment 4•18 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
| Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
Target Milestone: mozilla1.2alpha → ---
Comment 6•15 years ago
|
||
if bug 108761 comment 9 is representative of what we can expect, this is only a 1% gain
Severity: normal → minor
Comment 7•7 years ago
|
||
(In reply to Scott MacGregor from comment #0)
> Currently every focus and select events triggers command updating for the
> following two command sets:
>
> goUpdateSelectEditMenuItems
> globalEditMenuItems
> ...
> We need to make the same change I made in bug 108761 to the compose window. this
> will remove the last of the unncessary command updating you still see.
> In particular:
> cmd_undo, cmd_redo, cmd_delete
Aceman, is this still valid - that the work hasn't been done yet, and that the idea is not obsolete/actually needed?
Flags: needinfo?(acelists)
The mentioned functions still exist.
But I'm not familiar with what the problem actually is here.
Flags: needinfo?(acelists)
Comment 9•7 years ago
|
||
AIUI, the desired performance result is bug 108761 comment 9, achieved in compose by overriding command sets goUpdateSelectEditMenuItems and globalEditMenuItems with custom events per attachment 57163 [details] [diff] [review], and thereby avoid unnecessary command updating on every focus and select events (assuming the later is still true)
They seemed quite please with the results in bug 108761, although it is not clear from the bug "how much" was gained.
OS: Windows 2000 → All
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•