Bug 421155 - When adding an autostart entry for kteatimes multiple instances are started
Summary: When adding an autostart entry for kteatimes multiple instances are started
Status: RESOLVED NOT A BUG
Alias: None
Product: kteatime
Classification: Applications
Component: general (show other bugs)
Version: 20.04
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Böhmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-07 14:02 UTC by Boris Bigott
Modified: 2020-06-30 12:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Bigott 2020-05-07 14:02:31 UTC
Starting kteatime from the menu or krunner works flawlessly. But when adding an autostart entry multiple entries start to appear in the system tray. Sometimes up to 20 or 30 but usually less. I had this problem not just on Ubuntu but also on my previous Gentoo installation using various kde versions.
Comment 1 Martin Sandsmark 2020-05-30 20:35:31 UTC
I suspect this is because this is in the .desktop file: X-KDE-StartupNotify=true

Not entirely sure what it is for, but I suspect that krun believes kteatime will tell it that it has started somehow when that is true.
Comment 2 Boris Bigott 2020-06-04 10:50:10 UTC
@Martin I tried all of these settings including simply starting `/usr/bin/kteatime` from a script. I always end up with a lot teacups in my tray.
Comment 3 Boris Bigott 2020-06-30 12:14:29 UTC
Removing the autostart entry seems to fix the issue because kteatime is restored with the session. I don't know why I added the autostart entry in the first place. Maybe the session was not restored in one of my previous setups.