Version: 1.2 (using KDE 3.1.0) Installed from: SuSE Compiler: gcc version 2.95.3 20010315 (SuSE) OS: Linux (i686) release 2.4.19-4GB In KDE 3.0.4, one could reset the session time counters for all tasks by pressing CTRL+R (Reset session time). This was handy when beginning a new working day. However, after updating to KDE 3.1, karm does not only reset the session times but the total times as well! Even though being finally able to reset all counters with one keystroke instead of having to edit each task individually is nice, it should not be happening with the same hotkey that was used before. If possible, please revert this back to the old behaviour, but provide a separate hotkey/menu entry that enables one to reset both time counters at the same time.
In KArm CVS (and the upcoming 3.2 Beta), there are now two options on the file menu--"Start new Session" and "Reset all Timers". Neither of these are bound to a short cut key in the default install.
Thanks, but how is this related to the bug I reported initially? This still happens with Karm on KDE 3.1.4 - pressing CTRL+R to reset the session times does also reset the Total times.
I reopen this bug, as I don't consider it fixed yet...
Start New Session resets the session times for all tasks. Reset All Timers resets all times for all tasks. I won't bind either of these to a shortcut key in the default install, as they are destructive. But you can by editing the shortcut keys. If this doesn't meet what you need, please give me more information.
Thanks for the quick reply. Let me try to rephrase my problem, which is not directly related to shortcut keys, but to the way Session times are being reset. I currently use Karm 1.2 on KDE 3.1.4. By default, the hotkey CTRL+R is bound to File->Reset Session times, which supposedly resets the Session time counters for each task. However, choosing "Reset Session Times" from the menu or pressing CTRL+R resets both the Session Times and also seems to substract the time spent for the last session from the Total Times of each task. Let me try to give you an example. Say I have two tasks, Hacking and Mail. I have already been working on both tasks the previous day, but I restarted karm to start a new seession. So the karm display would look like this: Task name | Session Time | Total time ------------+--------------+------------- Hacking | 0:00 | 4:30 Mail | 0:00 | 2:45 ------------+--------------+------------- This session: 0:00 Now let's think I have been working on both tasks for a while, so both session and total times have increased during this session: Task name | Session Time | Total time ------------+--------------+------------- Hacking | 1:30 | 6:00 Mail | 2:15 | 5:00 ------------+--------------+------------- This session: 3:45 Now I would like to reset the session times to zero again (to start a new work day, for example). In previous versions, pressing CTRL+R would result in the following: Task name | Session Time | Total time ------------+--------------+------------- Hacking | 0:00 | 6:00 Mail | 0:00 | 5:00 ------------+--------------+------------- This session: 0:00 As you can see, the session times were reset, but the total times remained constant (as one would expect). HOWEVER, what happens to me is this: Task name | Session Time | Total time ------------+--------------+------------- Hacking | 0:00 | 4:30 Mail | 0:00 | 2:45 ------------+--------------+------------- This session: 0:00 So the time worked on the current session was substracted from the total time again, which does not seem to be the correct behaviour, if one wanted to reset the session times only. IIRC, this did not happen in earlier versions which made it much more convenient to use. You could simply let karm stay up and running for several days and only press CTRL+R at the beginning of each day to reset the session times, while the total times were preserved. Since this bug has shown up, I always end up having to save the times and quit karm, then restart it to be able to start a new session. However, it would of course be convenient to have another shortcut key to reset both the Session and Total times, e.g. at the beginning of a new working week.
Mark, your enhancement does what the OP wants, provided that the bug is fixed. That is, as long as your "New Session" feature resets session times without also subtracting them from the corresponding total times, this fixes the bug. If the KArm CVS will work with KDE 3.1.4 and is stable enough for everyday use, then I'll probably start using that, as the current bug renders KArm practically useless for multisession activity.
Yes, the start new session clears session times and leaves the total alone. So, I'll mark this as closed. I have a usage question for you two about session times: does session==today for you? Re: running KArm CVS under 3.1.4, this is how I use it. IIRC, you have to build the 3.2 version of qt-copy, kdelibs, kdebase, kdepim/libical, kdepim/libkcal, and kdepim/libkdepim before kdepim/karm will build. If you use Debian, you can apt-get CVS debs. Google on Orth kde cvs and you should find it.
Mark, thanks for the tips on building KArm CVS. I'll give it a try. As to your question regarding whether session==today, I'd say that in most cases it does, though I can imagine scenarios where I might want session==week or even session<day. Considering renaming the label? I'd say keep it as-is. Anyway, it would be dangerous to change the semantics because we zombies who work at nights might not appreciate having our session times reset to zero when the clock strikes twelve.