Bug 4187 - Folder new/unread status incorrect after power off
Summary: Folder new/unread status incorrect after power off
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Folder List (show other bugs)
Version: 3.17.4
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-03-24 11:04 UTC by George
Modified: 2019-03-24 11:39 UTC (History)
0 users

See Also:


Attachments

Description George 2019-03-24 11:04:29 UTC
I have experienced several unfortunate power offs while reading email and RSS. Roughly the STR is:

1. Have some new/unread messages (email or RSS)
2. For simplicity:

FolderA: 5 unread
FolderB: 0 unread

3. Read the messages in FolderA, marking them as read
4. Do NOT quit CM but power off (or kill it?)
5. Run CM again

EXPECTED:

FolderA: 0 unread and not show bold.

ACTUAL:

FolderA is still bold (and blue if it was blue in step 2). Clicking on it shows that all messages are read (correctly). Right after that click FolderA is no longer bold.

I suppose this may be due to CM writing the status of the folder on quit which leads to the described data discrepancy. Although this is not an actual bug it would be better not to have this discrepancy. Otherwise (suppose) if one has to go through many messages and folders if some unfortunate event causes an abnormal program termination.

Note You need to log in before you can comment on or make changes to this bug.