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

QtDBus delayed processing of NameOwnerChanged results in some signals not being delivered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.7.0
    • D-Bus
    • None
    • 5e257bd44fa4a76f4c2c573a6c5623802022ff18

      Sometimes a signal isn't delivered properly.

      Debug output when it is delivered:

      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) got message (signal): 
      QDBusMessage(type=Signal, service="org.freedesktop.DBus", 
      path="/org/freedesktop/DBus", interface="org.freedesktop.DBus", 
      member="NameOwnerChanged", signature="sss", contents=("org.ofono", "", 
      ":1.125") )
      
      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) Updating name "org.ofono" from "" to 
      ":1.125"
      
      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) got message (signal): 
      QDBusMessage(type=Signal, service=":1.125", path="/", 
      interface="org.ofono.Manager", member="ModemAdded", signature="oa{sv}", 
      contents=([ObjectPath: /phonesim], [Argument: a{sv} {"Online" = 
      [Variant(bool): false], "Powered" = [Variant(bool): false], "Interfaces" 
      = [Variant(QStringList): {}], "Features" = [Variant(QStringList): {}]}]) )
      

      And when it's not delivered:

      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) got message (signal): 
      QDBusMessage(type=Signal, service="org.freedesktop.DBus", 
      path="/org/freedesktop/DBus", interface="org.freedesktop.DBus", 
      member="NameOwnerChanged", signature="sss", contents=("org.ofono", "", 
      ":1.123") )
      
      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) got message (signal): 
      QDBusMessage(type=Signal, service=":1.123", path="/", 
      interface="org.ofono.Manager", member="ModemAdded", signature="oa{sv}", 
      contents=([ObjectPath: /phonesim], [Argument: a{sv} {"Online" = 
      [Variant(bool): false], "Powered" = [Variant(bool): false], "Interfaces" 
      = [Variant(QStringList): {}], "Features" = [Variant(QStringList): {}]}]) )
      
      QDEBUG : TestOfonoModemManager::testOfonoModemManagerAddRemove() 
      QDBusConnectionPrivate(0xa013fe0) Updating name "org.ofono" from "" to 
      ":1.123"
      

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

            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes