Bug 398835 - "Mark Thread Read" working as and when it feels like
Summary: "Mark Thread Read" working as and when it feels like
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-19 12:01 UTC by BingMyBong
Modified: 2019-03-06 09:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Half the thread marked as read (60.13 KB, image/png)
2019-01-15 09:13 UTC, BingMyBong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BingMyBong 2018-09-19 12:01:05 UTC
Sometimes it works fine 100% of the time in one session and sometimes it'll work intermittently in one session and sometimes not at all in one session. 
My workflow is, all emails into the inbox and then Ctrl-a and "Apply Filters" to "Local Folders".  I then open each folder to read the "unreads" and if a thread exists i don't need to read, i will then click on the thread and press "Mark Thread Read" and usually it works fine. 
This is what happens when it doesn't work properly.  After pressing the button, there appears to be no action i.e. all unread emails still "blue" and the folder unread count is the same but if i click on another email in the same thread, the unread count sometimes goes down as expected but the unread emails are still displayed as unread.

opensuse:tumbleweed:20180917 Qt: 5.11.1 KDE Frameworks: 5.49.0 - KDE Plasma:  5.13.5 - kwin 5.13.5 kmail2 5.9.1 - akonadiserver 5.9.1
Comment 1 BingMyBong 2018-09-20 08:58:50 UTC
More Info:  The emails left as unread (ie. blue text) are identified as "read" (ie. black text) if you close kmail and reopen it so it just seems that its the cosmetic completion of the task that is the problem.  
I need to double check what happens if i "mark thread read" and then exit kmail (ie. no click further into the thread to make the unread count change) to see if the count and text colour is correct on reload of kmail
Comment 2 BingMyBong 2018-10-26 13:22:45 UTC
(In reply to BingMyBong from comment #1)
> More Info:  The emails left as unread (ie. blue text) are identified as
> "read" (ie. black text) if you close kmail and reopen it so it just seems
> that its the cosmetic completion of the task that is the problem.  
> I need to double check what happens if i "mark thread read" and then exit
> kmail (ie. no click further into the thread to make the unread count change)
> to see if the count and text colour is correct on reload of kmail

All is well on reload of kmail i.e. unread email count is correct and previous unread emails shown in blue text are now black text if I do the above
Comment 3 Laurent Montel 2018-10-26 13:50:04 UTC
indeed it seems to have some problem.
I will investigate it
Comment 4 BingMyBong 2019-01-15 09:13:48 UTC
Created attachment 117464 [details]
Half the thread marked as read

Just come across a strange result of "Mark Thread as read" that i have not seen before.  I clicked on the root of the thread and pressed <Mark Thread as read> and parts of the thread were marked by being set to a black font colour. i've attached a screenshot of the 2 threads in question.
Comment 5 BingMyBong 2019-03-06 09:26:33 UTC
THis seems to be working fine now.  Thanks !!