Open Bug 1076034 Opened 10 years ago Updated 2 years ago

X-Mozilla-Status is not updated when using "Mark Folder Read"

Categories

(Thunderbird :: Mail Window Front End, defect)

31 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nulluserbox, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36

Steps to reproduce:

Examine the X-Mozilla-Status flag of the message between each of the following steps. Consider folder with at least one unread message. If no such folder exists, mark a message unread by right clicking the message and selecting Mark->As unread. Right click on the folder in your folder pane and select Mark Folder Read.


Actual results:

Started with a read message with X-Mozilla-Status: 0001.
After marking the folder as read, the X-Mozilla-Status flag is still 0001.



Expected results:

Marking the folder read should have changed the X-Mozilla-Status flag to 0000.
Useful for checking X-Mozilla-Status flags without manually opening the file and looking.
Comment on attachment 8498437 [details]
Counts the number of messages with X-Mozilla-Status last digit set to 0 in a given Inbox file.

>#!/bin/bash
># Usage: unread.sh Inbox
># Counts the number of messages with X-Mozilla-Status last digit set to 0 in a given Inbox file.
>
># DEFAULT_FOLDERS="~./icedove/your.default/Mail/pop.googlemail.com/Inbox"
>
>MAIL_FOLDERS=${1:-$DEFAULT_FOLDERS}
>
>COUNT=$(grep -c "X-Mozilla-Status: [0-9]\{3\}0" $MAIL_FOLDERS | grep -o '[0-9]\+$' | xargs echo)
>
>echo unread: $COUNT
Sorry, Status X-Mozilla-Status 0000 corresponds to unread and 0001 corresponds to read, so what I meant was

> Actual results:
> 
> Started with an unread message with X-Mozilla-Status: 0000.
> After marking the folder as read, the X-Mozilla-Status flag is still 0000.
> 
> 
> 
> Expected results:
> 
> Marking the folder read should have changed the X-Mozilla-Status flag to
> 0001.
This is already known issue, Bug 840418.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: