Bug 381055

Summary: repeated first icon when multiple systray icons belongs to a single application (kdocker)
Product: [Plasma] plasmashell Reporter: Kethen Chui <scootalootf2>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: materka
Priority: NOR    
Version First Reported In: 5.8.7   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: one instance of kdoccker process multiple windows
1 kdocker process to 1 window

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