Sending boolean value using qdbus always yields true

Thiago Macieira thiago at kde.org
Thu Dec 24 20:33:12 GMT 2009


Em Quinta-feira 24. Dezembro 2009, às 17.32.11, Christian Esken escreveu:
> Am Donnerstag, 24. Dezember 2009 16:48:37 schrieb Thiago Macieira:
> > Em Quinta-feira 24. Dezembro 2009, às 13.10.36, Christian Esken escreveu:
> > > Hello,
> > >
> > > I have a problem with qdbus. No matter what I pass on the command line,
> > > I always receive true. Details are on b.k.o. (Bug 201940), and Thiago
> > > says, it is not a Qt issue.
> > >
> > > I added a debug statement to KMix [1], and it shows the effect clearly
> > > [2].
> > >
> > > Does anybody know what is going on here? This is for a long time (bug
> > >  report from July 2009), and also for recent builds  (via the openSUSE
> > >  build: KDE:Qt46 and KDE:KDE4:UNSTABLE:Desktop).
> >
> > Run both apps (qdbus and kmix) with QDBUS_DEBUG=1.
> 
> Done.
> 
> The terminal with qdbus shows contents=("Front:0", false)
> The terminal with kmix shows contents=("Front:0", true)

Well, I can't reproduce this. My suspect is it's an optimisation bug in the D-
Bus data marshaller.

Can you retry with a debug build of QtDBus? It has to be -O0.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091224/11e32f65/attachment.sig>


More information about the kde-core-devel mailing list