Bug 390166 - Folder list should show number of unread mails for top-level folder and children separately
Summary: Folder list should show number of unread mails for top-level folder and child...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 5.6.3
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 17:44 UTC by quazgar
Modified: 2018-02-16 11:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Unread mails (22.90 KB, image/png)
2018-02-16 11:34 UTC, quazgar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description quazgar 2018-02-09 17:44:58 UTC
Currently, the folder list shows the total number of unread messages for a folder and its sub-folders:

-Debian              100

So all of the two following cases could be the case:

-Debian             100
 |--Debian KDE        0
 |--Debain Users      0

or

-Debian              20
 |--Debian KDE       30
 |--Debain Users     50

or

-Debian               0
 |--Debian KDE       80
 |--Debain Users     20

It would be useful (and in earlier versions of KMail this was the case) if a collapsed top-level folder indicated somehow the number of top-level unread messages in addition to the overall number.  IIRC previously it was:

- "100" if there are only 100 unread top-level messages.
- "20 + 80" if there are 20 in the top-level folder and 80 messages in the children.
- "0 + 100" if there are no top-level and 100 unread child folders messages.

This would increase the usability again since the user does not open the top-level folder in vain but can simply extend the view in the folder tree view to show th children first, before deciding which folder to open in the message list.
Comment 1 Laurent Montel 2018-02-16 06:34:30 UTC
I don"t understand what is the problem
it's the case.
It was not changed.

Please add a screenshot 

regards
Comment 2 quazgar 2018-02-16 11:34:29 UTC
Created attachment 110711 [details]
Unread mails

(In reply to Laurent Montel from comment #1)
> It was not changed.
> Please add a screenshot 

Hi,

it seems this was a misunderstanding by me when setting up KMail on a new machine.  The old behavior is actually still there, so NOTABUG, I simply did not find it at first because I had the extra "Unread" column enabled.  It might help to add a similar feature there as well, though that might then be a different bug.