Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
1.0.1, 1.2.x
Description
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.