Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.1, 5.12.2, 5.13.0 Beta 1
-
None
Description
The attached example RemoteObjectsConnectDisconnect.zip has 3 executeble subprojects:
- Client. Client based on QRemoteObjectReplica. Client calls remote SLOT(Print ()) every 0.5 seconds
- Server. Server based generator .rep. If Server is running, then SLOT(Print ()) is called and the message "~~~" is printed.
- Test. Test launches Client. Test start/kill Server every 2 seconds. Test finishes work
Launches test script:
- Run the subprojects Test
- Wait for work to finish (18 second)
The test script works correctly on Windows 7:
The test script works correctly on Ubuntu16.04 if you use QUrl("tcp://192.168.1.1:9999").
The test script don't work correctly on Ubuntu16.04 if you use QUrl ("local: service"):
Bug: After the server second shutdown. Replica does not emit signal QRemoteObjectReplica::stateChanged