Closed Bug 451877 Opened 16 years ago Closed 16 years ago

IMAP mark-as-deleted model: while offline - delete doesn't advance to next message

Categories

(MailNews Core :: Backend, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b1

People

(Reporter: mkmelin, Assigned: mkmelin)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Using the IMAP with the mark as deleted model quite annoying since deleting a message doesn't advance to the next message like all other models do (and also the mark as deleted model does while online).

Happens both on 2.0 and trunk.
Assignee: nobody → mkmelin+mozilla
Component: Mail Window Front End → Backend
Product: Thunderbird → MailNews Core
QA Contact: front-end → backend
Attached patch proposed fix (deleted) — Splinter Review
This makes us advance the same way with mark-as-deleted as with other delete models. The changes shouldn't affect other delete models as the code paths are only exercised for m-a-d.

Oh, and one other thing:
This patch seems to speed up mark-as-deleted deletion by an order of magnitude - especially if the network is sluggish, or the machine is under heavy load.
(I assume it means we delete in the UI right away, instead of waiting for the operation to actually have been performed on the server.)
Attachment #349553 - Flags: superreview?(bienvenu)
Attachment #349553 - Flags: review?(bienvenu)
Status: NEW → ASSIGNED
Comment on attachment 349553 [details] [diff] [review]
proposed fix

thx, Magnus.
Attachment #349553 - Flags: superreview?(bienvenu)
Attachment #349553 - Flags: superreview+
Attachment #349553 - Flags: review?(bienvenu)
Attachment #349553 - Flags: review+
changeset:   1207:7a0ccd9061eb
http://hg.mozilla.org/comm-central/rev/7a0ccd9061eb

->FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b1
Depends on: 541072
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: