Bug 507342

Summary: KTimeTracker does not automatically track active tasks when new windows are opened.
Product: [Applications] ktimetracker Reporter: Butter <1bit-deviant>
Component: generalAssignee: Alexander Potashev <aspotashev>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version First Reported In: 5.0.1   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Butter 2025-07-22 07:48:02 UTC
SUMMARY

KTimeTracker does not automatically create and track active tasks when new windows are opened when using the "Track active applications" feature.


STEPS TO REPRODUCE
1. Open KTimeTracker
2.  Clock > Track active applications
3. Change focus to different application


OBSERVED RESULT

No tasks are added and no time Is recorded.


EXPECTED RESULT
When the focus of the window changes, a new task will be created with the title of the window as its name and it will be started.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
This bug is also present on the 6.0.0 Flatpak build