Bug 203259

Summary: Doing kquitapp plasma-desktop does not shut down the plasma desktop
Product: [Unmaintained] kdelibs Reporter: David Hubner <hubn3rd>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra, aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Hubner 2009-08-10 04:41:12 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Unlisted Binary Package

When i type kquitapp plasma-desktop all i get back is:

Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection

and the plasma-desktop does not quit. Also output from qdbus org.kde.plasma-desktop /MainApplication

Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
method void org.kde.KApplication.quit()
method void org.kde.KApplication.reparseConfiguration()
method void org.kde.KApplication.updateUserTimestamp()
method void org.kde.KApplication.updateUserTimestamp(int time)
property readwrite int com.trolltech.Qt.QApplication.cursorFlashTime
property readwrite int com.trolltech.Qt.QApplication.doubleClickInterval
property readwrite QSize com.trolltech.Qt.QApplication.globalStrut
property readwrite int com.trolltech.Qt.QApplication.keyboardInputInterval
property readwrite bool com.trolltech.Qt.QApplication.quitOnLastWindowClosed
property readwrite int com.trolltech.Qt.QApplication.startDragDistance
property readwrite int com.trolltech.Qt.QApplication.startDragTime
property readwrite QString com.trolltech.Qt.QApplication.styleSheet
property readwrite int com.trolltech.Qt.QApplication.wheelScrollLines
property readwrite QString com.trolltech.Qt.QCoreApplication.applicationName
property readwrite QString com.trolltech.Qt.QCoreApplication.applicationVersion
property readwrite QString com.trolltech.Qt.QCoreApplication.organizationDomain
property readwrite QString com.trolltech.Qt.QCoreApplication.organizationName
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
method void local.PlasmaApp.toggleDashboard()
method int org.kde.KUniqueApplication.newInstance()
method int org.kde.KUniqueApplication.newInstance(QByteArray asn_id)
method int org.kde.KUniqueApplication.newInstance(QByteArray asn_id, QByteArray args)
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()

produces the same error.
Comment 2 David Hubner 2009-09-03 12:52:56 UTC
Is this fixed in QT 4.6? I don't know if a patch was submitted or not.
Comment 3 David Hubner 2010-02-10 02:44:08 UTC
Still does not quit in 4.4 with QT 4.6.1 

Error is:

<unknown program name>(3218)/: "Application plasma-desktop could not be found using service org.kde.plasma-desktop and path /MainApplication."
Comment 4 Aaron J. Seigo 2010-02-10 03:14:56 UTC
while annoying and technically incorrect this:

"Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while
parsing introspection"

is harmless. the hyphen in the name technically violates the dbus spec, but the dbus server does nothing to enforce it.

this:

"Application plasma-desktop could not be found
using service org.kde.plasma-desktop and path /MainApplication."

means that the interface is not being found at all (or, rather, is "invalid"). are you running kquitapp as the same user that plasma-desktop is running as?

if you are running both as the same user, can you confirm that this: 

     qdbus org.kde.plasma-desktop /MainApplication

does return a listing?
Comment 5 David Hubner 2010-02-10 04:10:46 UTC
Yes, I just double checked this... 

I did a quick check when I installed 4.4 so I could close the bug if it was fixed, I was su'ed as root when I did it.  

Sorry, it works.. closing bug!