Closed Bug 71470 Opened 24 years ago Closed 24 years ago

[XUL Syntax] Add support for command observers to use command="" instead of observes=""

Categories

(Core :: XUL, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: hyatt, Assigned: mikepinkerton)

References

Details

(Whiteboard: [XUL1.0])

Attachments

(8 files)

... and make menus and keys smarter about not getting attrs set on them and not updating until they're shown.
Blocks: 70753
Status: NEW → ASSIGNED
Summary: [XUL Syntax] Convert command observers to use command="" instead of observes="" → [XUL Syntax] Add support for command observers to use command="" instead of observes=""
Whiteboard: [XUL1.0]
Target Milestone: --- → mozilla0.8.1
Target Milestone: mozilla0.8.1 → mozilla0.9
Adding pinkerton to cc list. pinkerton has volunteered to be the Mac bitch on this one.
Attached patch Patch to content DLL (deleted) — Splinter Review
Attached patch Patch to layout DLL (deleted) — Splinter Review
pink, you need to patch the Mac menu oncreate code.
My patch wasn't quite right. Better patches coming up.
Attached patch Patch #2 to content DLL (deleted) — Splinter Review
Attached patch Patch #2 to layout DLL (deleted) — Splinter Review
Attached patch Patch #4 to content DLL (deleted) — Splinter Review
Ready for r and sr on the latest content and layout patches.
r=jag on attach_id=28184 r=jag on attach_id=28191
Can we share some of that child-walking code in MenuFrame and PopupSetFrame in a helper function somewhere?
I'm going to eliminate <popupset> for 1.0, so it won't matter. I have a bug on that already.
Blocks: 49141
i just rewrote mac menus to use nsIContent while I was at it. The patch is big, but a lot of the changes are spacing changes (god was the indenting in these files bad) and a lot of repeated nsIDOMNode->nsIContent patterns. I tested browser/mail/composer and menus, submenus, disabled items, check menus, radio menus, etc all work fine. Need r/sr for these. saari? hyatt? sfraser?
sr=hyatt on pink's changes
My changes are in. Reassigning the bug to pinkerton.
Assignee: hyatt → pinkerton
Status: ASSIGNED → NEW
fixed. new menu changes in on mac and macosx.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Blocks: 72923
No longer blocks: 70753
Platform on this bug shows PC, but I assume the fix affects only the Mac? I'll get QA to take a look at menus in the builds from today.
this affects all platforms.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: