Bug 415524 - The autotracking feature doesn't seem to work
Summary: The autotracking feature doesn't seem to work
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Potashev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-24 12:56 UTC by Ganton
Modified: 2022-09-29 21:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
After switching to another virtual desktop: the task is not started automatically (162.26 KB, image/png)
2019-12-25 10:00 UTC, Ganton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ganton 2019-12-24 12:56:17 UTC
The autotracking feature doesn't seem to work. It's very useful, as it was stated in [a Charmtimetracker bug report](https://github.com/KDAB/Charm/issues/348):

-------------------------------

KTimeTracker has a very useful feature: virtual-desktop related time tracking. That way you can use different workspaces for different tasks, and automatically track how much time you spend on them :-).

One good idea is having e.g.:
– One virtual desktop for working.
– One virtual desktop for reading the news.
– One virtual desktop for studying.
– One virtual desktop for leisure time.

So you can keep the time you spend working, or reading the news, etc. easily (without having to start/stop tasks throughout the whole day!).

Perhaps it may help:
- the source code of KTimeTracker (https://cgit.kde.org/ktimetracker.git/),
- [Get current Virtual Desktop - number/name/tag/id](https://unix.stackexchange.com/questions/23565/get-current-virtual-desktop-number-name-tag-id)
- https://www.reddit.com/r/linux/comments/dw6hz/timing_virtual_desktop_usage/

-------------------------------

By the way, the "ChangeLog" file still says "KTimeTracker 5.0 (release date: ?)", and it could be updated.
Comment 1 Alexander Potashev 2019-12-24 23:28:28 UTC
Desktop tracking works for me. Switching to another task happens after about 5 seconds, but this is by design.

Are you using KDE Plasma for virtual desktops?
Comment 2 Ganton 2019-12-25 10:00:16 UTC
Created attachment 124699 [details]
After switching to another virtual desktop: the task is not started automatically

> Desktop tracking works for me. Switching to another task happens after about 5 
> seconds, but this is by design.
Here :-), after switching to another virtual desktop: the task is not started automatically, even after waiting a minute. The settings are the default ones (except what's related to the new two tasks). I attach a screenshot.

> Are you using KDE Plasma for virtual desktops?
Yes, under the latest Kubuntu version (Kubuntu 19.10).

And merry Christmas and a happy new year! :-)
Comment 3 Ganton 2019-12-25 11:06:21 UTC
P.S. Sometimes the autotrack behaves correctly, for example: When I go to the first virtual desktop, then the task named "work" is automatically started, and when I go to the second virtual desktop, then the task named "work" is automatically stopped. Strangely enough, when I go to the second virtual desktop, the task named "news" is not automatically started.
Comment 4 Ganton 2022-09-29 21:30:26 UTC
It seems to work nowadays, thanks!