noflo-ui icon indicating copy to clipboard operation
noflo-ui copied to clipboard

Adding a node does not send the width and height metadata, only on changenode

Open ERnsTL opened this issue 2 years ago • 2 comments

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.

ERnsTL avatar Oct 24 '22 17:10 ERnsTL

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!)

ERnsTL avatar Oct 24 '22 17:10 ERnsTL

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:

Bildschirmfoto vom 2022-10-24 19-44-12

Looks like this after reload:

Bildschirmfoto vom 2022-10-24 19-44-21

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.

ERnsTL avatar Oct 24 '22 17:10 ERnsTL