Bug 344595

Summary: Closing ksysguard ends with message KDEInit can't run /usr/bin/ksysguard
Product: [Unmaintained] ksysguard Reporter: soee <kontakt>
Component: ksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hrvoje.senjan, imoreph, kaj, mcclayn, simonandric5, sitter
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: https://www.youtube.com/watch?v=_9kJ3PcnB4c
Latest Commit: Version Fixed In: 5.2.2
Sentry Crash Report:

Description soee 2015-02-26 13:49:42 UTC
If we open ksysguard and close it, we will see warning message that KDEInit can't run /usr/bin/ksysguard.

Whats more if ksysguard is started from krunner, krunner becomes unresponsive, we can interact it after ksysguard is closed.

Reproducible: Always

Steps to Reproduce:
1. Start ksysgurad (from menu or krunner)
2. Close ksysgurad 
3. Warning message shows up

Actual Results:  
Warning message is generated after ksysguard is closed.

Expected Results:  
ksysguard should be temrinated without any warning messages.
Comment 1 Harald Sitter 2015-02-26 13:52:34 UTC
grep -i dbus /usr/share/applications/org.kde.ksysguard.desktop                                                                                                                  
X-DBUS-StartupType=Multi
X-DBUS-ServiceName=org.kde.ksysguard

appears to me that ksysguard claims it registers on dbus, except it doesn't really.
Comment 2 BluesKaj 2015-02-26 13:55:53 UTC
I can confirm the bug, but one can use dbus to launch ksysguard to make it work in this case.
Comment 3 Hrvoje Senjan 2015-02-26 17:54:07 UTC
Git commit b3900ddedacc92db2eeec05e521fdaee94076230 by Hrvoje Senjan.
Committed on 26/02/2015 at 14:57.
Pushed by hrvojes into branch 'Plasma/5.2'.

Register KSysguard to DBus

Unbreaks starting the app via KRun

Reviewed-by: Bhushan Shah

M  +1    -0    gui/CMakeLists.txt
M  +5    -1    gui/ksysguard.cpp

http://commits.kde.org/ksysguard/b3900ddedacc92db2eeec05e521fdaee94076230
Comment 4 Romy Prasetyo Hadi 2015-03-04 01:25:47 UTC
It affect me too, and still the latest update doesn't overcome this bug