Bug 92906 - Automatically mark message read when replying
Summary: Automatically mark message read when replying
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: junior-jobs
: 100172 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-08 13:21 UTC by Unknown
Modified: 2017-01-07 22:24 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch (8.27 KB, patch)
2012-11-27 21:09 UTC, lycantrophe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2004-11-08 13:21:37 UTC
Version:           1.7 (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages

When answering a Mail, it would be nice to be able to mark it automatically read (normally if I answer a mail, I read it anyway), e.g. when pressing the reply-button or when the answer is really sent. As everybody has his own preferences, would nice to have it configurable.

mfg
/dirk
Comment 1 johnny 2006-03-15 23:11:59 UTC
this used to work in kde 3.1, but now i upgraded to kde 3.5.1 and it does no longer work! :(

the message *was* marked as read when the sending had complete, but it no longer does that. It just marks it as "replied".
Comment 2 Björn Ruberg 2009-12-20 11:50:23 UTC
Still true in KDE 4.3 . Great junior job.
Comment 3 Björn Ruberg 2009-12-20 23:15:59 UTC
*** Bug 100172 has been marked as a duplicate of this bug. ***
Comment 4 Bernd Oliver Sünderhauf 2012-05-31 00:20:41 UTC
Still true in KDE 4.8
Comment 5 Myriam Schweingruber 2012-08-18 07:56:05 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 6 Luigi Toscano 2012-08-19 00:47:27 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.
Comment 7 Bernd Oliver Sünderhauf 2012-08-24 11:18:59 UTC
Still applies to kmail2, component: UI.
Comment 8 lycantrophe 2012-11-26 14:52:52 UTC
How? To reply to a message it first has to be selected, which in turn marks it as read.
Comment 9 Bernd Oliver Sünderhauf 2012-11-26 15:29:39 UTC
@lycantrophe: That's configurable: Configure KMail -> Misc -> Mark selected message as read after.
Many people set this to a value >0 sec.
Comment 10 Laurent Montel 2012-11-26 15:56:18 UTC
I don't understand the problem.
Is it not marked as read ?
Comment 11 lycantrophe 2012-11-26 16:55:04 UTC
@Bernd Makes sense, I suppose. How much interest is this for such a feature? It should not be that hard to implement.
Comment 12 Bernd Oliver Sünderhauf 2012-11-26 21:03:27 UTC
@Laurent:
Sorry for being a bit verbose:

In most cases it will be marked read, even if "Mark selected message as read after" is set to a value >0 sec. This for the simple reason that writing the reply will take long enough, while the original message marked in the messagelist, so the threshold will be easily reached.

However, it won't be necessarily marked read at least in the following case:
- if the users hits "reply" but temporarily switches back to the messagelist (in order to open replies for more messages)

And generally it won't be marked read at least in the following cases:
- if "Mark selected message as read after" is completely switched off 
- if the Message preview pane is disabled

Now, when replying to a mail, it can be assumed that the original mail has sufficiently been literally read, if it is quoted. And in most every case the original mail will be quoted, except the user for some reason removes %QUOTE from the template. But even then, an answer by definition references the original information. So we can safely assume that the user considers an answered mail as read.
But to adapt to different preferences and stay on the secure side, we should make this configurable, yet enabled on default.

Inline forwarding is a similar case, but this is often done quasi-automatic. Also forwarding information doesn't necessarily imply that the content has been acknowledged. So this one should be configurable as well, yet disabled on default.

See also the feature requests regarding ignored threads (Bug #212897) and deleted messages (Bugs #196876, #117717).

Taken together, the configuration would make up a nice little sub-section within "Appearance -> Message List" because that is the single common starting point where a marked message gets replied, deleted, forwarded etc. without being opened in a message window.
Comment 13 Laurent Montel 2012-11-27 09:07:31 UTC
Ok I understand problem.
But with a GUI we will add a lot of options. Not good to add more 5-6 options for it...
But it's right I don't know to do it without make it optional.
Will think it for 4.11
Comment 14 lycantrophe 2012-11-27 21:09:23 UTC
Created attachment 75507 [details]
Patch

This patch implements this feature. I also sent it by email to kdepim-bugs@kde.org.

Feel free to review & critique it, or accept it if so.
Comment 15 Laurent Montel 2012-11-28 07:09:48 UTC
as I wrote in comment 13 I don't like to add more options.
Will look at for 4.11
(we are in string freeze/feature freeze)
Comment 16 Denis Kurz 2016-09-24 17:51:59 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 17 Denis Kurz 2017-01-07 22:24:58 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.