Bug 73846 - Mark all as read to include subfolders?
Summary: Mark all as read to include subfolders?
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 81936 93427 191219 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-30 21:23 UTC by Jose Hernandez
Modified: 2015-11-12 09:13 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.1


Attachments
Importing mails mark them as unread. Not good. (27.16 KB, image/png)
2015-11-10 16:45 UTC, Alexandre Bonneau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Hernandez 2004-01-30 21:23:35 UTC
Version:           1.6.50 (using KDE 3.2.90 (CVS >= 20040117), compiled sources)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r6

How about a right-click option to TopFolder that is able to mark messages in Subfolder1...N  as read?

TopFolder
 ->Subfolder1
 ->SubfolderN

I sort messages like this and TopFolder typically has no mail in it, and the option is greyed out. The result is constantly doing the task for each Subfolder.
Comment 1 Tom Albers 2004-11-17 20:53:45 UTC
*** Bug 93427 has been marked as a duplicate of this bug. ***
Comment 2 Tom Albers 2004-12-27 23:15:35 UTC
*** Bug 81936 has been marked as a duplicate of this bug. ***
Comment 3 Thomi Richards 2005-03-07 20:57:35 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 karl sebastian liebich 2008-04-30 03:01:52 UTC
thats good. It is an issue for me as well.
Comment 5 Alan Braslau 2008-06-16 12:38:37 UTC
Indeed, "Mark all messages as read" is still disabled (after four years) for a folder containing subfolders. This recursive action would be very useful. Could it now be fixed for KDE4.1?

Thanks
Comment 6 Björn Ruberg 2009-12-18 23:55:25 UTC
Problem is that the top folder does not notice when a subfolder contains unread mails. That's why it is greyed out.
Comment 7 Björn Ruberg 2010-02-25 00:14:34 UTC
*** Bug 191219 has been marked as a duplicate of this bug. ***
Comment 8 Olek Gut 2011-11-23 01:56:10 UTC
This feature request is still valid for KMail 2
Comment 9 Laurent Montel 2011-12-21 08:43:50 UTC
In 4.7.x/4.8 we can select multi folder and apply "mark all as read"
I will not add this feature because if I have (as in my KMail)
-> KDE 
   -> kde-pim
   -> kde-commit
   -> kde-devel

if by error I click "mark all as read" all my subfolder will make as read.
I want to define which folder I want to mark as read.

And I will not add an other menu entry for it. Kmail has already a lot of menu entry
Comment 10 Alexandre Bonneau 2015-11-10 16:45:30 UTC
Created attachment 95421 [details]
Importing mails mark them as unread. Not good.
Comment 11 Alexandre Bonneau 2015-11-10 16:46:27 UTC
Please consider this use case then :

1) Do not put anymore option in the context menu -> Add a line in the 'Folder' menu like "Mark all message as read, including the subfolders", which will then ask which folder you want to select for this action (although this is cumbersome and perhaps you could find a way to just display a modal window when using the context menu 'Mark all as read' when it detects that some subfolders have unread message ?)

2) Try importing a massive email archive, with thousands of mails, and, more importantly, thousands of folders.
When you import those message, they magically appears as unread, so you have to manually 'mark as read' *every single folders*, which means doing that thousands of time.
Boring, Annoying, and totally Unnecessary.
You do want user to switch to kmail don't you?

Please take a look at the attached screencapture, and cry with me while I'll right click 'Mark as read' 950+ more times :'(
(Yes, do look at that scrollbar size.)
Comment 12 Laurent Montel 2015-11-12 06:44:16 UTC
Git commit 9561c718f0dd05232201776ff8dd9eb9450c8c64 by Montel Laurent.
Committed on 12/11/2015 at 06:43.
Pushed by mlaurent into branch 'master'.

Fix Bug 73846 - Mark all as read to include subfolders?

FIXED-IN: 5.1

M  +2    -1    kmail/job/fetchrecursivecollectionsjob.cpp
M  +1    -0    kmail/job/markallmessagesasreadinfolderandsubfolderjob.cpp
M  +2    -1    kmail/kmail_part.rc
M  +21   -4    kmail/kmmainwidget.cpp
M  +2    -0    kmail/kmmainwidget.h
M  +2    -1    kmail/kmmainwin.rc

http://commits.kde.org/kdepim/9561c718f0dd05232201776ff8dd9eb9450c8c64
Comment 13 Alexandre Bonneau 2015-11-12 09:13:55 UTC
Thank you Laurent !
I'll check that as soon as possible.