Bug 381055 - repeated first icon when multiple systray icons belongs to a single application (kdocker)
Summary: repeated first icon when multiple systray icons belongs to a single applicati...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.8.7
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-10 05:50 UTC by Kethen Chui
Modified: 2019-10-16 14:44 UTC (History)
1 user (show)

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


Attachments
one instance of kdoccker process multiple windows (994.63 KB, image/png)
2017-06-10 05:50 UTC, Kethen Chui
Details
1 kdocker process to 1 window (995.42 KB, image/png)
2017-06-10 05:51 UTC, Kethen Chui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kethen Chui 2017-06-10 05:50:42 UTC
Created attachment 106025 [details]
one instance of kdoccker process multiple windows

Migrating from xfce4, I had a bunch of apps that are docked in systray with kdocker. Surprisingly, after starting them the first icon would repeat in the systray, preventing me from accessing windows other than the first one.

After some investigation, creating separated dbus session for each window to prevent kdocker using the same process to manage windows works as a work around.
Comment 1 Kethen Chui 2017-06-10 05:51:38 UTC
Created attachment 106026 [details]
1 kdocker process to 1 window
Comment 2 Kethen Chui 2017-06-10 06:00:39 UTC
original script
kdocker app1 &
kdocker app2 &
kdocker app3 &
...

work around version
kdocker app1 &
dbus-run-session kdocker app2 &
dbus-run-session kdocker app3 &
...

which
1. Strips kdocker of it's single kdocker process feature
2. Window title is no longer displayed in systray tooltip. Instead it's always 'kdocker' now
Comment 3 Kethen Chui 2017-06-10 23:15:04 UTC
Another workaround would be modifying kdocker source code to make it one window to one process, which works better with gtk apps and ibus.

Like this modified version
https://github.com/Kethen/kdocker_ubuntu_one_window_one_process
Comment 4 Konrad Materka 2019-10-16 14:44:59 UTC
KDocker is not part of the Plasma desktop. If you are still affected by this issue, please report it on: https://github.com/user-none/KDocker