Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ERnsTL opened this issue Oct 24, 2022 · 2 comments
Open

Comments

@ERnsTL
Copy link

ERnsTL commented Oct 24, 2022

Full description, reproduction instructions and screenshots:

According to message traces, the problem is noflo-ui side.

@ERnsTL
Copy link
Author

ERnsTL commented Oct 24, 2022

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
Copy link
Author

ERnsTL commented Oct 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant