Bug 196133

Summary: total time in statusline not showing
Product: [Applications] ktimetracker Reporter: thomas
Component: generalAssignee: Zoltan Gyarmati <mr.zoltan.gyarmati>
Status: REOPENED ---    
Severity: normal CC: aspotashev, astrand, kubry, langec, r_klein
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Perl script computing a sum of time values

Description thomas 2009-06-12 08:02:11 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

After updating to 4.2.90 my ktimetracker does not show the total time for all tasks in the statusline. In 4.2.4 it does and it was a great help managing time. Any hint, how to swicht this on again?

Thanks Thomas
Comment 1 Thorsten Staerk 2009-06-12 08:13:05 UTC
I removed it because I could not think of a situation where you would need it.
Comment 2 thomas 2009-06-12 10:16:36 UTC
I do need it, because with this little item I do check my daily time of work. It is a very good help to look to the statusline and get an idea of how much time you spent working the day.
Comment 3 Christoph Lange 2009-08-17 21:09:21 UTC
Finally I'm also back reporting bugs, now from KDE 4.3.  I do need this for the book-keeping of my weekly working hours.  Also, on every day it gives me an overview of how long I have already worked.  Maybe it should be a configurable option.

There is nothing that could replace this feature.  My task file has several independent trees, i.e. not a single root node, where I could easily look up the cumulated time.  And if I had a single root node, I'd still have to scroll there.
Comment 4 Peter Astrand 2009-09-17 16:56:27 UTC
I'm also desperately missing the total time. Please bring it back! Now it just says "Successfully saved /a/very/long/path". This is totally irrelevant! If there was an error saving the file, then display it then, instead. The UNIX tradition is to be silent on success.
Comment 5 Christoph Lange 2009-10-14 12:44:50 UTC
Created attachment 37575 [details]
Perl script computing a sum of time values

This is a script that I wrote when this bug first occurred.  Maybe it's also helpful for you.
Comment 6 r_klein 2009-11-07 01:48:50 UTC
Just updated to version 4.3.3 and I am sorely missing the total time, too. I also use it to keep track of my daily and weekly work hours. Please bring it back!

I am not sure what 4.x version I had before, but there it was showing.

Thanks,
Randolf
Comment 7 Thorsten Staerk 2009-11-07 11:17:24 UTC
It was removed with 4.0. I plan to add it again and accept patches.
Comment 8 Thorsten Staerk 2011-09-29 11:10:13 UTC
This patch gives an idea how this could work:

diff --git a/ktimetracker/mainwindow.cpp b/ktimetracker/mainwindow.cpp
index abb3747..75e09d2 100644
--- a/ktimetracker/mainwindow.cpp
+++ b/ktimetracker/mainwindow.cpp
@@ -55,7 +55,7 @@ MainWindow::MainWindow( const QString &icsfile )
     kDebug(5970) << "Entering function, icsfile is " << icsfile;
     // Setup our actions
     setupActions();
-
+    statusBar()->insertPermanentItem("Total Time:",0,0);
     // this routine will find and load our Part.
     KPluginLoader loader( "ktimetrackerpart" );
     KPluginFactory *factory = loader.factory();
Comment 9 Andrew Crouthamel 2018-09-04 18:54:51 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.