Closed Bug 1574442 Opened 7 years ago Closed 2 years ago

Marking thread as read doesn't work properly in all cases

Categories

(MailNews Core :: Backend, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1134024

People

(Reporter: neil, Unassigned)

Details

Attachments

(1 file)

The code that runs when you press R to mark a thread as read seems to work by hitting the database and then fixing up IMAP afterwards.

For POP accounts and local folders, this can be demonstrated as follows:

  • Find a thread
  • Mark some of its messages unread
  • Press R to mark all the messages read again
  • Quit Thunderbird
  • Delete the .msf file
  • Restart Thunderbird

Note that the messages have become unread again.

I don't know what happens for news accounts, but for Owl accounts, this means that the messages never get marked read on the server.

Attached patch Possible patch — — Splinter Review

This seems to work for Local Folders and Owl anyway. The downside is that when marking more than one IMAP thread as read then the individual messages will be marked read a thread at a time.

Review?

(In reply to Jorg K from comment #2)

Review?

It's just a draft patch, I haven't run it through Try or anything. (We do have tests for marking threads as read right?)

Your guess is as good as mine, probably better. I believe so, but I don't know how intricate the test cases are.

Version: unspecified → Trunk

similarity to bug 232967 ??

Severity: normal normal → S3 S3

This is actually a dupe of bug 1134024, where a fix for this never has been finished. After a quick look at the draft patch provided here, I think it doesn't work properly in cross-folder views either.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1134024
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: