Bug 92915 - one key mail reading
Summary: one key mail reading
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: keys and menus (show other bugs)
Version: 1.7
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 15:38 UTC by Unknown
Modified: 2009-12-20 11:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Mark current message as read before going to the next one. (278 bytes, patch)
2006-03-30 13:03 UTC, Magnus Holmgren
Details

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

I would like the possibility of one key mail reading, e.g. when using space to read mails, when switching from one mail to the next unread mail, the left mail is automatically marked read.

mfg
/dirk
Comment 1 Edwin Schepers 2004-11-08 19:14:46 UTC
Hi Dirk,
Do you mean the functionality which the '+' key has ?
Comment 2 Unknown 2004-11-09 13:26:32 UTC
no, the + key is defined as "go to next unread mail", "space" as "go to next unread text" but both do not mark the mail read when switching to the next.

e.g. sylpheed provides this feature (but i do not remember whether it was configurable)
Comment 3 Andreas Gungl 2004-11-09 13:47:39 UTC
Am Dienstag, 9. November 2004 13:26 schrieb Dirk Haage:
> no, the + key is defined as "go to next unread mail", "space" as
> "go to next unread text" but both do not mark the mail read when
> switching to the next.

Please check the following setting:
Settings -> Misc -> Folders -> Mark selected messages as read after ... sek

Andreas

Comment 4 Unknown 2004-11-09 15:42:03 UTC
No, that's a different feature, if I would choose e.g. 5 sec. and read a short mail in 2 sec. and switch to the next, the read mail is not marked read and if I start to read a long mail but do not finish, this mail is marked read even if I did not read it. (Even more, with "jump to first unread message" messages are marked read without reading at all)

mfg
/dirk
Comment 5 Magnus Holmgren 2006-03-30 13:03:32 UTC
Created attachment 15372 [details]
Mark current message as read before going to the next one.

This one line of code should do what the reporter asked for. It calls
slotSetMsgStatusUnread() before slotNextUnreadMessage().
Comment 6 Magnus Holmgren 2006-03-31 09:54:06 UTC
Wow. My brain must have been short-circuted. It's of course slotSetMsgStatusRead() that should be called.
Comment 7 Magnus Holmgren 2006-08-16 10:06:47 UTC
This is pretty trivial. Can it be implemented with this one-liner or does it have to be configurable?

Dirk, can you confirm that the solution is what you want?
Comment 8 Ingo Klöcker 2006-08-16 15:05:15 UTC
I'm not sure about this change. Let's say I'm using Space to browse all my unread messages, but I explicitely mark some of them as unread again because I want to deal with them later. With your patch they would be marked as read again.

Making the behavior configurable doesn't really solve the above problem. Maybe the automagic marking as read should only be active for users who disabled "Mark selected messages as read after n seconds"? Or maybe the automagic marking as read should only be performed if the user didn't explicitely mark the current message as unread?
Comment 9 Magnus Holmgren 2006-08-16 23:20:42 UTC
Simple answer: You can always use Next unread message (+ (but I've reconfigured it to N, which is closer to space)) instead of Next unread text if you don't want to mark the message as read. If you don't like that, it could be possible to turn it off. But coupling it with "Mark selected messages as read after n seconds" is too limiting. Your last suggestion is better (but requires more coding), IMHO.

There are currently a couple of possible usage modes:
1. With "Mark ... read after n seconds" set to a low number, mark all messages as read almost immediately; manually mark as unread (preferably bind a key to that command) those messages that you want to read again.
2. With "Mark ... read after n seconds" off or set to a high number, manually mark all messages as read (preferably bind a key to that command) before going to the next one, or mark the whole folder as read after reading the last message (beware of new messages arriving while reading).

With this wish implemented, another usage mode becomes possible:
3. Simply push Space repeatedly. Combine with 1 or 2 depending on "Mark ... read after n seconds" setting. Long and uninteresting messages can be marked as read by the timer, while short and uninteresting messages can be dismissed rapidly.
Comment 10 Björn Ruberg 2009-12-20 11:57:20 UTC
Suggestion 2 above is probably the best way to go.