Application (i.e., process) does not terminate after closing main window (via "X" button on the window header). Instead, the application remains (in the system) and have no window. KTimeTracker application never have any icon in the tray (never, even if the main window is opened). So I have to terminate the process via process manager (via command "terminate"). If I use a command "File > Quit" of a window menu, the application terminates properly (as it should be). -------------------- P.S. System cumulates such still-working processes of KTimeTracker after several open/close operations. Sometimes KTimeTracker displays a message that it can not save an opened .ICS file. I suspect it is because several instances of KTimeTracker try to access the same file (but a user can not see processes without windows). Reproducible: Always Steps to Reproduce: 1. Start the application. 2. Click on "X" button ("Close") on the header of a main window of application. 3. Wait until the window disappeared, i.e., until the application have closed it. 4. Open a process manager (in KUbuntu: krunner, Ctrl+Esc) and try to find a KTimeTracker. Actual Results: The application is still present in system, while it have no window. And there is no any icon in the tray for the KTimeTracker application (as before of closing of its main window, as after). Expected Results: Decision 1: The application terminates after its main window is closed. (Now such behaviour is implemented for a command "File > Quit" of a window menu.) Decision 2: [For cases, when it is required (for some purposes) to allow the application work without a window (i.e., in background).] The application have an icon in the tray and the icon provides a user with a command to quit application.
This bug is for the version of KTimeTracker: 4.8.5
Version 4.8.5 is unmaintained. If you can reproduce this issue with a recent version (4.12.5 or newer), please reopen or add a comment.
(In reply to Christoph Feck from comment #2) > Version 4.8.5 is unmaintained. If you can reproduce this issue with a recent > version (4.12.5 or newer), please reopen or add a comment. Give a link, please. There is no any link on "userbase.kde.org/KTimeTracker".
KTimerTracker is part of the KDEPIM packages.
I can confirm that this still happens in version 5.0.1 (Linux golubo 5.4.48-gentoo, using xfwm 4.15.1 + KDE 5.73.0). The basic steps to reproduce it are the same as the original commentor, but killing the process ("killall ktimetracker") and starting ktimetracker again works as expected. The real issue seems to be that the system tray icon does not appear. This was working just fine when I first installed version 5.0.1, so the actual bug is probably not in ktimetracker, or may be a bad interaction with some part of the environment. This bug doesn't seem to lead to any data corruption, although starting a timer and closing the window prevents you from stopping the timer (until you kill/restart etc.) I tried running with the configuration setting "Place an icon to the system tray" checked and unchecked. With either setting, closing the window leaves the ktimetracker process running. As described by Vladimir, "File > Quit" does work correctly -- just not the window close event from the window manager.
yeah, I cannot work on ktimetracker right now. Am I still maintained as maintainer?
Re: comment #5 Thanks for your feedback Alex! I agree the lack of tray icon is the root cause. Can you reproduce the same problem in another KDE application that also has a tray icon, for example Kiten? (https://apps.kde.org/kiten)
(In reply to Alexander Potashev from comment #7) > Can you reproduce the same > problem in another KDE application that also has a tray icon, for example > Kiten? (https://apps.kde.org/kiten) I retested with ktimetracker 5.0.1 and kiten 21.08.1 (both under (Linux 5.4.97-gentoo, using xfwm 4.16.1 + KDE 5.86.0). The ktimetracker behavior was the same as I reported earlier. For kiten, the application reliably adds an icon to the system tray. Clicking on that icon alternately hides and shows the application. When the kiten application window is open, clicking the window close button removes the system tray icon, and the process exists. The File > Quit menu action also works as expected.