Bug 304778 - Possibility to launch many instances of ktimetracker
Summary: Possibility to launch many instances of ktimetracker
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: 4.8.x
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Zoltan Gyarmati
URL:
Keywords:
: 308105 324259 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-08 09:42 UTC by Pepe
Modified: 2014-12-20 13:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***