Why does this qdbus command work and my dbus-send command not?

vatbier vatbier at yahoo.com
Mon Nov 10 12:10:58 PST 2008

--- On Sun, 11/9/08, Thiago Macieira <thiago at kde.org> wrote:
> >This command doesn't work:
> >dbus-send --type=method_call --dest=org.kde.kmail
> > /kmail/kmail_manwindow_1
> com.trolltech.Qt.QWidget.setHidden
> > boolean:true
> >
> >This command does work:
> >qdbus org.kde.kmail /kmail/kmail_mainwindow_1 setHidden
> true
> >
> The commands are not equivalent.
> The equivalent to your dbus-send command would be:
> qdbus org.kde.kmail /kmail/kmail_mainwindow_1 
> com.trolltech.com.Qt.QWidget.setHidden true
> It's a bug in Qt I've already fixed, according to
> my log, in Qt 4.4.2. 
> Make sure you have at least that version. I've just
> tested locally and it works.

I think it's not about the bug you're refering to. 
I have Qt 4.4.3 (Mandriva 2009.0).
The qdbus command works (with or without 
It is the dbus-send command that doesn't work. Is it a bug of dbus-send 
or am I using the wrong parameters for it?



More information about the dbus mailing list