Bug 304778

Summary: Possibility to launch many instances of ktimetracker
Product: [Applications] ktimetracker Reporter: Pepe <poube>
Component: generalAssignee: Zoltan Gyarmati <mr.zoltan.gyarmati>
Status: RESOLVED FIXED    
Severity: normal CC: mr.zoltan.gyarmati, oldgunpraa, pereira.alex
Priority: NOR    
Version: 4.8.x   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pepe 2012-08-08 09:42:40 UTC
It's possible to launch a lot of instance of ktimetracker, but this create problems and the user is not informed that he have more than 1 instance of ktimetracker launched.

Reproducible: Always

Steps to Reproduce:
1. Launch ktimetracker
2. Launch ktimetracker an other time
3. Launch ktimetracker an other time
Actual Results:  
There isn't a message telling you that you have 2 or more instances of ktimetracker. With some desktop environment, it can be difficult to see that you have a lot of ktimetracker opened. If there is too many ktimetracker opened, some problems appear (cannot record timetracking, if there is subtask opened, they will be closed / hiden, maybe wrong data...).

Expected Results:  
It will be great, as for exemple in TimeSlotTracker, that a window appear when you relaunch ktimetracker a second time, telling you : "Sorry, only one instance of Ktimetracker allowed. Press ok to exit".
Comment 1 Zoltan Gyarmati 2014-12-03 18:54:21 UTC
A patch with a possible solution sent to reviewboard (see https://git.reviewboard.kde.org/r/121339/)
Please feel free to comment here or there.
Comment 2 Zoltan Gyarmati 2014-12-18 22:38:05 UTC
*** Bug 324259 has been marked as a duplicate of this bug. ***
Comment 3 Zoltan Gyarmati 2014-12-19 16:23:42 UTC
Fixed in:
ID: fe32488834a31e8e47eb5604948cd40816f26def
ktimetracker: using KUniqueApplication so only one instance is allowed at a time
REVIEW: 121339
Comment 4 Zoltan Gyarmati 2014-12-20 13:40:15 UTC
*** Bug 308105 has been marked as a duplicate of this bug. ***