Bug 309804

Summary: plasma-desktop freezes with skype launcher and Icon-Only Task Manager
Product: [Unmaintained] plasma4 Reporter: Manuel López-Ibáñez <lopezibanez>
Component: panelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: patrick.rudolph
Priority: NOR    
Version First Reported In: 4.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Manuel López-Ibáñez 2012-11-09 11:32:47 UTC
Everytime I switch to an external monitor and launch skype using the launcher in the icon-only task manager, plasma-desktop becomes unresponsive and I need to kill it and launch it again. It comes back almost fine (some layout glitches). Interestingly, skype is launched and works fine independently of the panel.

I can understand that skype is closed-source, so it is probably doing something wrong. On the other hand, random programs should not able to easily hang plasma-desktop.


Reproducible: Always
Comment 1 Manuel López-Ibáñez 2012-11-26 11:23:08 UTC
The culprit is 

X-DBUS-StartupType=unique

more info at: https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1082394
Comment 2 Patrick Rudolph 2017-03-06 07:34:10 UTC
I'm facing a similar problem, that seem to be related to "X-DBUS-StartupType=unique"

Reproducible: Always

Tested KDE Version: 5.8.4 / 5.8.6

Impact: Critical

Description:

Place a .desktop file on your workspace.
Set "launch as seperate user" and select an existing login (blafoo for example).
Set "DBUS Registration" to unique (default on most desktop files).

The resulting .desktop file will contain:

X-DBUS-StartupType=unique
X-KDE-SubstituteUID=true
X-KDE-Username=blafoo

Launch the .desktop file.
Kdesu will show up and let you enter blafoo's password. 

At this point the plasmashell is already froozen and keeps waiting until the spawned process is killed (either kdesu or the launched application if you already entered the user's password).

The plasmashell doesn't freeze with X-DBUS-StartupType=unique, X-KDE-SubstituteUID=false and it doesn't freeze with X-DBUS-StartupType=wait, X-KDE-SubstituteUID=true.
Comment 3 Nate Graham 2018-06-08 18:31:53 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham