Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.1
-
None
Description
The `active` property is used to open and close connections on QML WebSockets. However this property is not updated when the socket is closed. Therefore mapping a UI button to toggle active requires an additional click.
The active property should be updated on disconnect. (If it were me I would get rid of active and just have a connectToHost() method and an disconnectFromHost method like the other sockets. But if that is not the case, then active property need to be maintained according to the socket state.