Timer Watch

Time Watch is a small time management tool.

Its purpose is to :

  • Show current time (Clock)
  • Track amount of time spent working (Stopwatch)
  • Display progress bar of time spent working towards time goal (Progress Bar)
  • General Information about the document and time spent on it.

Link:
https://github.com/EyeOdin/timer_watch

Preview:

12 Likes

Is it possible to take into account only the “time of active use” of the program? Or just automatically stopping the timer when the user is “idle”?

This is already in Krita: Go to File -> Document Information, it will tell you the summarized time spent on this document (of course you need to save in .kra for it to work, otherwise it will be reset to 0 every time; and working with .kra files is better anyway).

1 Like

I know about the timer attached to the file. I was looking for a similar stopwatch in the program, because I wanted to see this “time data” constantly, and not in a hidden menu. The plugin that is offered in this topic looks exactly as I imagined, and I would like to see in it just this missing function from “Document Information” or its equivalent, it would be great.
p.s. I apologize for this machine translation)

3 Likes

Sounds lovely, excited to try it! :grin: I like that it’s in a docker and that it has a lot of nice features other than just counting the time spent, like the progress bar! :+1: The Progress bar sounds like something I would like to use

I did not even know this option existed, but the use seems a bit different. it seems to read the total time spent on a piece and I want to know when I need to stop to go and eat or not cheat myself from working too little. I think I could make a new tab to read that value too but odds are that value is not open in the API yet, but if i can I will try and add the link to it too sounds like a good idea actually.

4 Likes

well I updated the plugin to the suggestion and now it has a new tab called “info” that displays general information about the active document.

The initial link has been updated so just use that.

values worth noting are :

  • Date Delta - how long was the document created
  • Active Time - how much time was spent editing the file since creation or last reset.

Note: I tested it out with several files but if a bug pops up just send me a Personal Message with the error message so I can correct it. thanks in advance.

4 Likes

I think @I9S submitted a MR to add the plugin script by blender guys into the resources page of krita documentation. I think you should also send an Merge Request to add yours to the list too.
@tiar has given a nice introduction about it in this post - Blender Institute developed a Krita script!

2 Likes

Thanks! this is what I need!
I noticed that the minute counter shows the value “zero” and it is unchanged.
From the screenshot


you can see that from 94 335s where 1d 2h 0m 15s(93 615s) are not shown 12m (720s)
Simply, the minutes value is not displayed in the specified area.
I checked on several files, including the newly created one.
Can someone else check this plugin for themselves? Maybe I did something wrong.

1 Like

oopseys hehe. I wrote “month” instead of “minute” there for some odd reason. that is why it was always zero on the read. thank you for pointing it out @Andreich_DMBL.
As a side note it is worth noting that the “work” value only updates upon saving.

I did not even think about that yet. I will have to take a look into it to see how it is done.

2 Likes

I’m kind of neutral as to the usefulness of these things.
A lot of time when I’m programming or painting I don’t even bother with them.
Why? because unless they are implemented very strictly and used very strictly, then results can actually vary because of real-world circumstances.
Often times I get called away from keyboard(afk) for whatever reasons and might be away for hour or two.
Then sometimes you get people that ask how long something took and I really don’t have a accurate answer because maybe I was pulled away and came back.
A work environment is a bit better for these things.

Also if you got auto complete snippets in programming it really doesn’t reflect the time it would normally take to write something. The .kra timer is ok, but what if it is a workshop document already set up for a specific purpose. Maybe it has been edited 100s of times or have branches of revisions.
… so overall I’d say it might be useful for those who would take the time to stop the timer when called away or maybe if it had settings that was specific to every 10seconds after a edit.

so idunno really. I guess it all depends on the end user and if accurate results are truly important.

well I had need for it so I made it, I forget to eat loads of times because of work and this will help me go eat on time. Eating on time is cool I think even though I don’t do it.

But to answer some points.

The stopwatch is not meant to measure the time doing the work but the amount of time your in front of the screen , you can pause it anytime like normal.

As you said Krita has a internal timer that updates upon saving. On the info tab, it exposes the xml values of the *.kra of exactley that, so when you save you get the Active Time of work of that given piece (in human readable time) if the file was not reset you will have the values since creation. And it will display the name of the original creator too if possible. Worth to note that really old files don’t have the xml with the same organization so sometimes it wont load up properly or at all (but if you know where the number is you can tweak the code for it, I left the current entries that i did not use on the code so you can read from where stuff is comming inside the code and not just some random numbers out of sequence).

long story short you can see the total editing time of a piece just as you can see from document info.

1 Like