Bug 503606 - Auto Tracking does nothing
Summary: Auto Tracking does nothing
Status: REPORTED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.0.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Potashev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-01 10:38 UTC by Yaakov D.
Modified: 2025-09-02 14:42 UTC (History)
2 users (show)

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


Attachments
Auto tracking error (32.96 KB, image/png)
2025-05-25 09:24 UTC, Igor Murzich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaakov D. 2025-05-01 10:38:08 UTC
SUMMARY
Auto Tracking shows only one checkbox named "1". Checking it has no effect and is forgotten afterwards.

STEPS TO REPRODUCE
1. Right click on a task, select [Properties], it opens a dialog "Edit Task".
2. Check [Auto Tracking], it enables a list of check-boxes with only one in it.
3. Check the checkbox [1].

OBSERVED RESULT
Checking [Auto Tracking] shows only one checkbox

EXPECTED RESULT
List of all the desktops

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.6.85-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10700 CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Intel® UHD Graphics 630

ADDITIONAL INFORMATION
Comment 1 Igor Murzich 2025-05-25 09:24:38 UTC
Created attachment 181725 [details]
Auto tracking error
Comment 2 Igor Murzich 2025-05-25 09:26:17 UTC
Comment on attachment 181725 [details]
Auto tracking error

Confirm this bug

Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-061404-generic (64-bit)
Graphics Platform: Wayland
Comment 3 Alexander Potashev 2025-09-01 21:34:01 UTC
Looks like auto tracking of desktops is broken on Wayland.

Thiago, you disabled Auto Tracking on Wayland as part of KF6 migration https://commits.kde.org/ktimetracker/83ed91a5755c1bb5f95c4e05cc384cdd763da6fb.

----

Side note: Tracking of focused window is also disabled in KTimeTracker 6 on Wayland. Replicating the feature for Wayland should be possible, but the approach would be very different: https://discuss.kde.org/t/how-to-get-focused-window-title-in-a-python-or-bash-script-on-wayland/21361/2
Comment 4 Alexander Potashev 2025-09-01 21:38:03 UTC
> Thiago, you disabled Auto Tracking on Wayland as part of KF6 migration https://commits.kde.org/ktimetracker/83ed91a5755c1bb5f95c4e05cc384cdd763da6fb.

Hi Thiago,

Sorry I mentioned you but forgot to ask: Can you confirm the existing implementation of feature won't work on Wayland?
Comment 5 Thiago Sueto 2025-09-02 14:42:48 UTC
(In reply to Alexander Potashev from comment #4)
> > Thiago, you disabled Auto Tracking on Wayland as part of KF6 migration https://commits.kde.org/ktimetracker/83ed91a5755c1bb5f95c4e05cc384cdd763da6fb.
> 
> Hi Thiago,
> 
> Sorry I mentioned you but forgot to ask: Can you confirm the existing
> implementation of feature won't work on Wayland?

Yeah, IIRC nothing of it worked on Wayland (or Windows). The attached screenshot matches what I remember happening before I ported it to Qt6.

Because of that I hid all user-facing elements of the autotracking functionality so it only shows up when using X11, Yaakov is only seeing that on Wayland because they're using KTimeTracker 5.0.1.

I'm pretty sure it should be possible to port that to work on Wayland, but I haven't looked into it yet.