This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How does total editing time work?

Tags: None
(comma "," separated)
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS

How does total editing time work?

Sun Mar 24, 2019 1:06 pm
In the document properties, there's a section called Total Editing Time

Image

I just want to know how Krita computes this time? Is it for how long the document has been open? Is it based on use activity on the canvas? If so, does it only count up if the pen starts doing a stroke, etc?

In other words, I just want to have a better understand of how this feature works
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Here's the original patch review: https://phabricator.kde.org/D779

This patch (re)introduces total editing time back into Krita. It currently works the following way:

As soon as a document is created, the time-elapsed about property is set to 0. While the user is drawing, the last modification time is updated on each modification. When there is a gap of 30 seconds or more between the last modification and the current one, that gap is not included in total editing time. If the delta between the first modification time and now is larger than 60, or if a force update occurs (on save), the delta is pushed into the document information.


Basically, it tries to record how long was spend modifying the document, and is precise to about a minute.
ꜱᴩʀɪᴛᴇ➀
Registered Member
Posts
32
Karma
0
OS
TheraHedwig wrote:snip


Okay thank you! I was worried it was racking up my time if I was off doing something else with Krita in the background


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]