vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
40 stars 15 forks source link

Rendering does not update when changing the graph #32

Closed sebescudie closed 2 years ago

sebescudie commented 2 years ago

Hey there,

Was trying to patch a recursive file tree when I noticed the rendering was not updated when the ImGui graph was changed, even after pressing F9. Here are some repro steps and a patch that shows this behavior.

  1. Open the FileTree node
  2. In LoadFiles, try changing the Hovered input of SetButtonStyle to something else. Even after pressing F9, the change is not reflected (you still see the old Hovered color)
  3. Also try replacing the Button widget inside LoadFiles with something else (like a simple Text for instance), the change is not reflected after F9 (we still have Buttons in the tree)
  4. Restarting vvvv shows the "real" updated values

I also noticed that hovering the FileTree node in the Application patch shows timings, but when going inside it it looks like nothing is running (no timings or tooltips anywhere).

Please let me know if I can provide more details!

Thanks

FileTreeImGui.zip

bj-rn commented 2 years ago

Had this (or at least something similar ) regularly when patching with 2022.5 as posted here. Instead of restarting vvvv, I did: Ctrl+S, Ctrl+R, F9.

bj-rn commented 2 years ago

Just saw there is already a related issue but it's closed... https://github.com/vvvv/VL.StandardLibs/issues/48

sebescudie commented 2 years ago

Thanks for CTRL+R + F9, that'll be an easier workaround!

azeno commented 2 years ago

Thanks for the detailed report. Will have a look ASAP.

azeno commented 2 years ago

Latest preview should address all those issues. Can you confirm?

sebescudie commented 2 years ago

Confirmed, alles gut with 2022.5.0 - 159, thanks for the prompt fix!