Closed Bug 52712 Opened 25 years ago Closed 25 years ago

Unable to view attachments after switching to another folder

Categories

(MailNews Core :: Backend, defect, P1)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: marina, Assigned: mscott)

Details

(Whiteboard: [nsbeta3+] fix in hand)

Attachments

(1 file)

**** observed with 2000-09-13 build (happens to day as well)**** Steps to reproduce: - select a mail with an attachment; - click on the envelope and make sure you're able to view the attached file names; - now copy or move this message to a different folder; -select the moved message, click on the envelope icon: //note: no file names are coming up
Wow, that's not good. I just reproduced it myself. The attachment button for ANY message is effectively dead once you copy or move a message that has an attachment. I was using a 9/13 commercial release build in the modern skin.
Keywords: nsbeta3
QA Contact: esther → pmock
nsbeta3+, P1. This is effectively data loss for non-developers.
Priority: P3 → P1
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
Turns out, copying the message isn't what causes a problem. If you view a message in a folder and invoke the attachment popup, everything looks good. Any other message in that same folder with an attachment button also works. Switch folders. Now you are DOA.... cc'ing some xp-toolkit folks as this appears to be related to the fact that when you switch a folder we collapse the box which encloses the button. uncollapsing the box, shows the button again, but never the popup.
Summary: Unable to view attachments through the envelope after copy/move to an other folder → Unable to view attachments after switching to another folder
Attached patch proposed fixSplinter Review
Turns out there was some mixture between the hidden attribute and the collapsed attribute. hidden actually tears down the content and re constructs it again when you remove the hidden attribute. we had a CSS style in msgHdrViewOverlay which was supposed to map hide to visiblity: collapse. But apparently that wasn't working. And it looks like once a popup is destroyed and you unhide it, it never works again. The short term mail fix is to use the collapsed attribute consistently. that's what this patch does. I'll file a toolkit bug and future it for menupopups not working after they have been hidden and then unhidden.
Whiteboard: [nsbeta3+] → [nsbeta3+] fix in hand
Fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified as fixed on win32, linux, and macos using the following builds: win32 commercial seamonkey build 2000-092111-m18 installed on P500 Win98 linux commercial seamonkey build 2000-092110-m18 installed on P200 RedHat 6.2 macos commercial seamonkey build 2000-092120-m18 installed on G3/400 OS 9.04
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: