Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33695

QTBUG-27809 Patch has broken the Dbus Async mechanism

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0, 5.6.2
    • 4.8.3
    • D-Bus
    • None
    • Windows/Visual Studio 2010

    Description

      Hi Guys,

      Im not familiar with Qt/Dbus version 4.8.3 (well lets just say I'm new to a project that uses this technology), and have just applied the patch, however I think the patch may have changed the mechanism for making Async calls across services, or I may be missing something, so are cheekly looking for some possible pointers/assistance

      Prior to adding the patch the Debug Output from the Dbus Trace (setting the enivronment var QDBUS_DEBUG=1) was

      Before the patch
      ================

      Source Service Output-
      QDBusConnectionPrivate(0x29025c0) sending message (async): QDBusMessage(type=MethodCall, service="com.companyname.XPLS.TargetService", path="/process_control", interface="com.companyname.ProcessControl", member="ping", signature="", contents=() )

      Target Service Output-
      QDBusConnectionPrivate(0x33bbe80) Automatically sending reply: (QVariant(QDateTime, QDateTime("Thu 26. Sep 12:57:05 2013") ) )
      QDBusConnectionPrivate(0x33bbe80) sending message (no reply): QDBusMessage(type=MethodReturn, service="", signature="", contents=("2013-09-26T12:57:05Z") )

      Source Service Output-
      QDBusConnectionPrivate(0x29025c0) got message reply (async): QDBusMessage(type=MethodReturn, service=":1.9", signature="((iii)(iiii)i)", contents([Argument: ((iii)(iiii)i) [Argument: (i6], [Argument: (iiii) 12, 56, 25, 269], 1]) )

      And With the Patch QTBUG 27809 added
      ====================================

      Source Service -
      =QDBusConnectionPrivate(0x31925c0) sending message (async): QDBusMessage(type=MethodCall, service="com.companyname.XPLS.TargetService", path="/process_control", interface="com.companyname.ProcessControl", member="ping", signature="", contents=() )

      Target Service -
      =QDBusConnectionPrivate(0x30dbde8) Automatically sending reply: (QVariant(QDateTime, QDateTime("Thu 26. Sep 14:10:19 2013") ) )
      QDBusConnectionPrivate(0x30dbde8) sending message (no reply): QDBusMessage(type=MethodReturn, service="", signature="", contents=("2013-09-26T14:10:19Z") )

      Source Service -
      ********************* No Response ***********************

      I have hijacked the RemoteControlledCar example and modified the turn left button to return the Fuel Level asynchronously (well a QDateTime) and this exhibits the same issue

      Looking for some assistance - Thanks

      Dave

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thiago Thiago Macieira
              devilschest Dave Adams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes