Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1711

CLONE - QValueSpaceSubscriber connected to undefined RProperty doesn't emit contentsChanged() signal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • 1.1.0
    • 1.0.1, 1.2.x
    • Publish & Subscribe

      Cloned this bug because this is still valid for QtMobility 1.2

      Original report by Jerzy Chalupski (http://bugreports.qt.nokia.com/browse/QTMOBILITY-331):

      Steps to reproduce:
      1. Create QValueSpaceSubscriber with path mapped to undefined RProperty.
      2. Verify that QValueSpaceSubscriber was successfully connected.
      3. Publish some value on path observed by QValueSpaceSubscriber with QValueSpacePublisher.
      4. Verify the count of contentsChanged() signals emitted by QValueSpaceSubscriber created in step 1.

      Currently no signals are emitted, although QValueSpaceSubscriber::isConnected() returns true. It's misleading and not consistent with Symbian RProperty behavior.

      I propose that for all platforms that doesn't support subscribing to undefined path, QValueSpaceSubscriber::isConnected() should return false if QValueSpaceSubscriber's path is set to undefined path.

      I've attached test project that demonstrates the issue.

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

            satu.m.makela satu makela
            ahaapane Aapo Haapanen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes