Bug 78734 - JJ: Mark messages as To Do
Summary: JJ: Mark messages as To Do
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 12:49 UTC by Jocke Selin
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Todo status available (9.46 KB, patch)
2004-10-17 21:30 UTC, Benjamin
Details
V2 of the todo status patch (11.08 KB, patch)
2004-11-06 18:03 UTC, Benjamin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jocke Selin 2004-03-30 12:49:39 UTC
Version:           1.6.1 (using KDE 3.2.1,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian)
OS:          Linux (i686) release 2.4.22-1-686

I'd like a feature that allows you to mark a message as "ToDo" i.e you should return to the message and do whatever it states.
It would be extra handy if one could associate a timer to the ToDo status and thus have a notification pop up (or the email) when the time has lapsed.
This could be a sub-menu to the ToDO-item, with items such as
- To Do in 5 minutes
- To Do in 30 minutes
- To Do in 1hr
- To Do in 3hrs
- To Do in 1 day
- etc
I'd also like to "vote" for the message colour marking :) Especially colouring based on filters. 
Thanks!
Comment 1 Cornelius Schumacher 2004-03-30 13:18:13 UTC
You can achieve that in Kontact by dragging the mail on the todo list icon. This creates a todo item where you can set an alarm.
Comment 2 groot 2004-04-11 16:52:56 UTC
Changed to JJ; Only thing left is the ToDo status (if that's actually desirable).
Comment 3 Benjamin 2004-10-17 21:30:57 UTC
Created attachment 7924 [details]
Todo status available

This patch, is my first one.
It provide an implementation, for the todo status.
Theire is no icon associated, because I didn't know how to do so...
Comment 4 Till Adam 2004-10-19 17:11:11 UTC
On Sunday 17 October 2004 21:30, Benjamin wrote:

> This patch, is my first one.
> It provide an implementation, for the todo status.
> Theire is no icon associated, because I didn't know how to do so...

Thanks for the patch, a few comments:

+    if (strchr(aXStatusStr, 'K')) setStatus(KMMsgStatusTodo); //W for Work

That comment is not accurate anymore, I guess?

-    KMLegacyMsgStatusFlag='G'
+    KMLegacyMsgStatusFlag='G',
+    KMLegacyMsgStatusTodo='T'
 } KMLegacyMsgStatus;

The legacy status is needed for conversion from the older status handling in 
the index files, it should not be touched. There was no todo status in that 
old format.

And lastly, have you tried unsetting the todo status? I don't think it can 
work, with your patch.

Feel free to  mail me if you have trouble with these comments, or ping me on 
irc. Then we can also add an icon together and enable todo in the search 
widgets. :)

Till

Comment 5 Benjamin 2004-11-06 18:03:00 UTC
Created attachment 8193 [details]
V2 of the todo status patch

This patch take into account till's remarks and is much more tested, and get's
an icon ;-)
Comment 6 Till Adam 2004-11-06 20:09:01 UTC
CVS commit by tilladam: 

Patch by Benjamin Azan <b.azan@free.fr> implementing the todo status 
handling.  Thanks a lot.

BUG: 78734


  M +3 -0      kmheaders.cpp   1.683
  M +1 -1      kmheaders.h   1.161
  M +27 -0     kmmainwidget.cpp   1.282
  M +4 -0      kmmainwidget.h   1.81
  M +15 -1     kmmsgbase.cpp   1.184
  M +4 -1      kmmsgbase.h   1.73