Closed Bug 12996 Opened 27 years ago Closed 27 years ago

Tasks menu gets corrupted

Categories

(SeaMonkey :: UI Design, defect, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pierre, Assigned: davidm)

References

Details

Attachments

(1 file)

Tested on Mac with today's debug build (09/01/99) - launch apprunner - open an editor window - close the editor window ==> look at the Tasks menu: it displays an 'a' at the bottom ==> repeat the operation: the Tasks menu displays an additionnal 'a' for each Editor window that has been opened
CCing saari who is in charge of menus: he may know where the 'a' comes from.
Component: Editor → XPApps
My mistake: it's not related to the Editor. The bug can also be reproduced with browser windows: you just need to open and close more than 2 in order to start seeing the 'a's in the Tasks menu. Changing Component to XPApp.
Assignee: buster → don
Summary: Editor corrupts the Tasks menu → Tasks menu gets corrupted
Renaming "Tasks menu gets corrupted" instead of "Editor corrupts the Tasks menu".
OS: Mac System 8.5 → All
Hardware: Macintosh → All
marking platform all. The problem appear to me to be that that 2 different ID's are being used for the rdf elements ( Ones a full path/navigator/chrome/content/ default/navigator.xul#window-1 and the other is just window-1) so that all the updates to change/remove elements get lost. Sent mail to waterson/hyatt for input.
Assignee: don → waterson
Severity: normal → major
Priority: P3 → P1
Target Milestone: M11
reassigning to waterson.
Status: NEW → ASSIGNED
Assignee: waterson → davidm
Status: ASSIGNED → NEW
reassign back as don told me to fix this.
Blocks: 16654
Attached patch proposed fix — — Splinter Review
davidm: here is the fix that I think we might want to try. does it look ok to you? (FWIW, adding an item to the id-to-element map twice is 1. idempotent and 2. cheap, so we shouldn't worry about those two issue.)
Sounds fine to me. I tried it out on my machine and it seems to work. Do you want me to check it in?
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
marking fixed
QA Contact: sujay → claudius
Status: RESOLVED → VERIFIED
verified
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: