Closed
Bug 80451
Opened 25 years ago
Closed 25 years ago
Attachements menu not updated correctly
Categories
(SeaMonkey :: MailNews: Message Display, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: xalkina, Assigned: prass)
Details
(Whiteboard: [nsbeta1+])
Attachments
(4 files)
|
556 bytes,
patch
|
Details | Diff | Splinter Review | |
|
811 bytes,
patch
|
Details | Diff | Splinter Review | |
|
799 bytes,
patch
|
Details | Diff | Splinter Review | |
|
815 bytes,
patch
|
Details | Diff | Splinter Review |
This is how to reproduce:
1. Open a message with say 3 attachments
2. Go to attachements menu, you see 3 entries there
3. Save all attachements, one after the other
4. Delete message, which moves you to the next
5. Open attachements menu again, you see one of the files from the previous message
If you follow the same procedure with next message, sometimes you get two
entries in the att. menu from previous messages
Just checked with 2001051008 on linux
Comment 2•25 years ago
|
||
that's not good. should only take a couple lines of JS to fix. I must have
messed up my logic for destroying entries in the attachment popup.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: nsbeta1
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.1
Comment 3•25 years ago
|
||
I was able to reproduce this on Windows 2000 using 200151404. changing OS to ALL.
Status: ASSIGNED → NEW
OS: Linux → All
Priority: -- → P2
Comment 4•25 years ago
|
||
This morning's builds had a bug ( bug 80746 ) which may have led to
a Bugzilla user inadvertantly
changing this bug from the Assignbed/Accepted status to the New status. If you
are the owner of this bug please check to see that it is in the correct Status.
Thanks.
Comment 9•25 years ago
|
||
thanks for looking into this prassana. Couple questions....I still don't
understand why what I had previously written doesn't work?
- while ( popup.childNodes.length > 2 )
- popup.removeChild(popup.childNodes[0]);
shouldn't that remove all but the last 2 elements in the popup? The last 2
elements being the separator and the save All Attachments menu item.
Looking at your patch, why don't we set len = .childNodes.length in all cases
instead of setting it sometimes to .childNodes.length and sometimes to
len=GetNumberOfAttachmentsForDisplayedMessage().
Comment 10•25 years ago
|
||
*** Bug 80820 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 11•25 years ago
|
||
Thanks for the update Scott.
1. This should work:
- while ( popup.childNodes.length > 2 )
- popup.removeChild(popup.childNodes[0]);
but because the items are inserted at length-2
869 item = popup.insertBefore(item, popup.childNodes[length-2]);
some items keep remaining
2. You are right I should just set it to length instead of getting the biggest one
Here is a new patch
| Assignee | ||
Comment 12•25 years ago
|
||
| Assignee | ||
Comment 13•25 years ago
|
||
Comment 14•25 years ago
|
||
sr=mscott
| Assignee | ||
Comment 15•25 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 16•25 years ago
|
||
Using build 2001-05-17 on win, mac and linux this is fixed. Note: I didn't have
to save all the attachments and delete the msg to see this problem. I verified
it by selecting a message with 5 attachments, selecting File|Attachment from the
menu to see the list of attachments. Then changing to another message with one
attachment, I use to see all 6 when selecting the File|Attachment. Now I see
the right attachments with the right message. Verified
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•