Version: 1.11.1 (using KDE 4.2.1) Installed from: Ubuntu Packages The unread count of a folder that has messages _and_ sub-folders is missing when the sub-folders are shown.
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