Bug 3881 - Hide Read Threads eats emails
Summary: Hide Read Threads eats emails
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message List (show other bugs)
Version: 3.15.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2017-08-23 01:26 UTC by Flavio Leitner
Modified: 2017-09-07 14:06 UTC (History)
0 users

See Also:


Attachments
Patch fixing the issue. (3.88 KB, patch)
2017-08-23 01:26 UTC, Flavio Leitner
no flags Details | Diff

Description Flavio Leitner 2017-08-23 01:26:39 UTC
Created attachment 1796 [details]
Patch fixing the issue.

When new emails arrive, the summary list is updated and the read
threads are removed if the option 'Hide read threads' is checked.

However, if you are reading the last email of a thread, then it
automatically goes to the next email. If the new selected email
happens to be the last read in a thread, then the next update
will do the same even though the user might not have seen that
message yet.

Attaching a patch that fixes the issue for me.
Comment 1 Ricardo Mones 2017-08-26 12:07:12 UTC
The patch looks good to me and works fine, many thanks!

Unless somebody raises any objection I'll push it soon.
Comment 2 users 2017-09-07 13:59:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2017-09-07 13:59:03.593458575 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=ed0ef51b19250f4f00fb685c4bcee3cba3d6dfa3
Merge: d0c5d65 e11b4ed
Author: Colin Leroy <colin@colino.net>
Date:   Thu Sep 7 13:59:02 2017 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=e11b4ed901d0b8d1844c199b9dbd7bb5b7a48c25
Author: Flavio Leitner <fbl@sysclose.org>
Date:   Sat Aug 12 18:28:23 2017 -0300

    Fix bug #3881: Keep read thread during update if it is selected.
    
    When new emails arrive, the summary list is updated and the read
    threads are removed if the option 'Hide read threads' is checked.
    
    However, if you are reading the last email of a thread, then it
    automatically goes to the next email. If the new selected email
    happens to be the last read in a thread, then the next update
    will do the same even though the user might not have seen that
    message yet.
    
    This patch fixes it to keep the thread if a message is selected.

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