Summary: | Unread count not shown if folder has sub-folders open | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Szokovacs Robert <szo> |
Component: | folder list | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | finex |
Priority: | NOR | ||
Version: | 1.11.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Open subfolders
Closed sub-folders Proposed patch |
Description
Szokovacs Robert
2009-04-02 10:21:00 UTC
Created attachment 32538 [details]
Open subfolders
Show the open state of sub-folders, it should show "1" as unread count, but it don't show anything.
Created attachment 32539 [details]
Closed sub-folders
Shows the closed sub-folder state, it displays "3" as unread count, which is correct.
Created attachment 32706 [details]
Proposed patch
This patch seems to fix this problem. The modification made is based on the setTotalCount() function, right below the modified function. I could find a reason why they behave differently.
SVN commit 951543 by tmcguire: Also show the unread count if the folder has sub-folders open Patch by Szokovacs Robert <szo@szo.hu>, thank you! BUG: 188643 M +2 -3 foldertreewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=951543 SVN commit 957721 by tmcguire: Backport r951543 by tmcguire from trunk to the 4.2 branch: Also show the unread count if the folder has sub-folders open Patch by Szokovacs Robert <szo@szo.hu>, thank you! CCBUG: 188643 M +2 -3 foldertreewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=957721 |