Closed
Bug 320439
Opened 20 years ago
Closed 20 years ago
Attachments still download when "Display Attachments Inline" deselected and "Wait x to Mark a Message As Read" selected.
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mehovis, Assigned: Bienvenu)
References
Details
Attachments
(1 file)
7.59 KB,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
When "Display Attachments Inline" is not selected and "Wait n seconds to mark a message as read" is selected, the attachments will alays download.
Reproducible: Always
Steps to Reproduce:
1.View->Display Attachments Inline is NOT checked
2.Tools->Options->Advanced "Wait n seconds to mark a message as read" is checked.
3.Select a message w/ a large attachment
4 [review].Ensure you're using an IMAP4rev1 server.
Actual Results:
A download of all attachments will occur w/ every selection of that message.
When "Display attachments inline" is disabled - no attachments should download regardless of the other setting.
Reporter | ||
Comment 1•20 years ago
|
||
This patch enables messages w/ attachments to only download completely if the option to display inline attachments is enabled.
Attachment #205997 -
Flags: review?
Updated•20 years ago
|
Assignee: mscott → bienvenu
Component: General → Networking: IMAP
Flags: review?
Product: Thunderbird → Core
QA Contact: general → grylchan
Version: unspecified → Trunk
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 205997 [details] [diff] [review]
Enables trytochunk and BODYSTRUCTURE, also Enabled peeks to occur to prevent premature /seen
Mike, can you explain why we need this code now:
+ if (endByte > 0)
+ {
+ // if we are retrieving chunks
+ char *byterangeString = PR_smprintf("<%ld.%ld>",startByte,endByte);
+ if (byterangeString)
+ {
+ commandString.Append(byterangeString);
+ PR_Free(byterangeString);
+ }
+ }
Reporter | ||
Comment 3•20 years ago
|
||
(In reply to comment #2)
> (From update of attachment 205997 [details] [diff] [review] [edit])
> Mike, can you explain why we need this code now:
>
> + if (endByte > 0)
> + {
> + // if we are retrieving chunks
> + char *byterangeString = PR_smprintf("<%ld.%ld>",startByte,endByte);
> + if (byterangeString)
> + {
> + commandString.Append(byterangeString);
> + PR_Free(byterangeString);
> + }
> + }
>
This code allows FetchTryChunk call to get into that particular portion of the case statement and still allow information about the attachments/body to be retrieved.
Reporter | ||
Updated•20 years ago
|
Attachment #205997 -
Flags: review?(bienvenu)
Assignee | ||
Comment 4•20 years ago
|
||
Comment on attachment 205997 [details] [diff] [review]
Enables trytochunk and BODYSTRUCTURE, also Enabled peeks to occur to prevent premature /seen
thx, Mike.
Attachment #205997 -
Flags: review?(bienvenu) → review+
Assignee | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•19 years ago
|
||
*** Bug 342717 has been marked as a duplicate of this bug. ***
Comment 6•19 years ago
|
||
This was also checked in on branch (2006-02-04 14:45).
Status: RESOLVED → VERIFIED
OS: Windows XP → All
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•