Bug 100484 - launching two applications at once causes the tray icons get mixed up
Summary: launching two applications at once causes the tray icons get mixed up
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksystraycmd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 210970 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-28 21:34 UTC by nah
Modified: 2018-09-04 14:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
systemtray with mixed up icons (4.04 KB, image/jpeg)
2010-03-15 12:08 UTC, pier andre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nah 2005-02-28 21:34:35 UTC
Version:           unknown (using KDE 3.4.0 Level "a" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.11-default

add two application shortcuts to the panel (one tiny that loads quick and another one that takes a bit longer to load)
right click on the one which takes longer to load  -> choose "properties" -> Application ->"Advanced Options" and tick the "Place in system tray" then click "OK" as many times it takes to close all windows.
now launch the application which has the *place in system tray* set and quickly afther that launch the other application.

now the bug - the tiny app which loaded faster gets placed in the system tray instead of the app which had the *place in the system tray* set and is still loading.
now when both of the applications are loaded and running -right click the *wrong* applications icon in the system tray and choose "Undock" - it will instead close the app which had the *place in system tray* set.
Comment 1 Aaron J. Seigo 2005-02-28 21:58:25 UTC
you have to provide the window title to ksystraycmd to make it grab the right window. evidently another textbox is required here. however, this isn't a kicker bug, it's in kdelibs/kio/kfile/. reassigning it where it belongs.
Comment 2 Sergio Martins 2006-08-11 20:50:09 UTC
> you have to provide the window title to ksystraycmd to make it grab the right 
> window.

How do i do that? i've been trying to run k3b with --window and it doesn't work

ksystraycmd --window k3b wrb

i run xprop and tryied all probable names

also, why doesn't --window "*" work with any application?
Comment 3 Christoph Feck 2009-08-27 02:36:08 UTC
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
Comment 4 pier andre 2010-03-15 12:08:32 UTC
Created attachment 41665 [details]
systemtray with mixed up icons

you ca easyly see that flag, network, kmix, are mixed up
Comment 5 pier andre 2010-03-15 12:09:59 UTC
I met a similar bug, I don't know why but sometimes often the systemtray mix up and superpose icons, see the attached.
Comment 6 Christoph Feck 2013-08-16 18:23:30 UTC
*** Bug 210970 has been marked as a duplicate of this bug. ***
Comment 7 Sergio Martins 2013-08-16 20:35:13 UTC
Haven't seen this. Can be closed imho.
Comment 8 darkfish 2013-08-26 03:47:13 UTC
This happens in KDE 4.8.5+
Users have also reported it for KDE 4.9+
"--window regexp" doesn't help me with Java based applications.
Comment 9 Andrew Crouthamel 2018-09-04 14:14:25 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.