noflo-ui
noflo-ui copied to clipboard
Adding a node does not send the width and height metadata, only on changenode
Full description, reproduction instructions and screenshots:
-
https://github.com/ERnsTL/flowd/issues/237#issuecomment-1289376512
-
issue noticed there: https://github.com/ERnsTL/flowd/issues/237
According to message traces, the problem is noflo-ui side.
note: not fixed on noflo-ui side (closing the issue flowd-side because what we could do from flowd side is done, but issue nflo-side remains!)
Issue noflo-ui side remains:
To reproduce:
- connect to the runtime
- add a component, wire it up
- noflo-ui sends addnode message without the width and height in metadata.
- reload noflo-ui
- it reconnects to the runtime
- runtime retuns the width:null and height:null values.
Looks like this after addnode:
Looks like this after reload:
If there is a changenode event, then noflo-ui sends the width: 72, height: 72 but if there is no changenode event, then the data from addnode message remains, which is width: null, height: null.