Bug 247936 - system tray applications with opened window started twice
Summary: system tray applications with opened window started twice
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: 4.5 and older
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 10:43 UTC by Albert Hofkamp
Modified: 2012-05-17 14:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
system tray picture (9.80 KB, image/png)
2010-08-17 19:28 UTC, Albert Hofkamp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Hofkamp 2010-08-15 10:43:28 UTC
Version:           4.4 (using KDE 4.4.5) 
OS:                Linux

If you leave a window of an application in the system tray open while logging out (and shutting down the computer), that application will be started twice on the next log in.


Reproducible: Always

Steps to Reproduce:
Run pidgin in the system tray, and leave the 'buddies' window of the program open when logging off (leave -> turn off).
(You may also want to set 'offline status on startup' to prevent problems with the remote servers due to multiple logins at the same time.)

I have also tried it with the workrave window that displays how much time there is left, and it behaves the same.

Actual Results:  
On the next log in, two instances of the program that had an open window at log out, are started.

Expected Results:  
Instead, starting just one instance of the program would be useful :)


I think that the following happens:

The applications of the system tray all get started.

In addition, the session manager tries to restore the windows by starting new applications, except that it does not realize that it should use applications of the system tray instead.
Comment 1 Albert Hofkamp 2010-08-15 10:48:11 UTC
Hmm, I forgot to mention that issue #189615 looks like another instance of this bug, except that issue blamed the Suse distro RPMs
Comment 2 Christoph Feck 2010-08-17 00:10:24 UTC
What do you mean with "Run pidgin in the system tray"? Are you using ksystraycmd?
Comment 3 Albert Hofkamp 2010-08-17 19:28:25 UTC
Created attachment 50663 [details]
system tray picture
Comment 4 Albert Hofkamp 2010-08-17 19:31:58 UTC
I don't think so, although I don't know what ksystraycmd is.
'ps aux | grep ksys' returns 'ksysguardd' but not ksystraycmd. I have attached a picture of the thing I mean. It is in the bottom panel of my desktop, and right-clicking on it (without any of the application buttons getting highlighted) gives options like "Remove this System Tray".
Comment 5 Christoph Feck 2010-08-18 20:36:14 UTC
Looks like a systray issue then. Reassigning.
Comment 6 Myriam Schweingruber 2012-05-17 14:03:04 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can still reproduce this with KDE 4.8.3 or later.