Bug 344595 - Closing ksysguard ends with message KDEInit can't run /usr/bin/ksysguard
Summary: Closing ksysguard ends with message KDEInit can't run /usr/bin/ksysguard
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: ksysguard (show other bugs)
Version: 5.2.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL: https://www.youtube.com/watch?v=_9kJ3...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 13:49 UTC by soee
Modified: 2015-03-27 14:43 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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