christophhart / HISE

The open source framework for sample based instruments
http://hise.audio
Other
1.01k stars 116 forks source link

[Bug] Opening a Scriptnode workspace while that DSP network is open in a popup window freezes HISE #421

Closed aaronventure closed 4 months ago

aaronventure commented 1 year ago
  1. Make DSP network
  2. Open the interface workspace or something else
  3. Create popup of the dsp network graph
  4. Open the DSP network workspace

HISE window becomes completely unresponsive. The popup is also unresponsive. Unable to close it via the exit icon, the whole window freezes (both HISE and the popup). After some time, it will execute every mouse action that you "queued" in order, then freeze again. If one of these was to switch to a different workspace, HISE will unfreeze.

Win 11, 15f6e578969fc8a34630e2297256fb0ef5178373

hise popup network freeze

christoph-hart commented 1 year ago

Does the complexity of the network have an impact on this (so does the freezing also happen with a very simple network)?

It could just be that the complexity of the DSP network graph is too high to show it twice, then I could make a safeguard that prevents having two instances of the graph visible.

aaronventure commented 1 year ago

I'm on fe6982e9ef42c474d92e66916fae4561f89f9de0 now and you seem to be right, it does. At least with smaller things like 2 oscillators back to back, no issues. I used convolution reverbs in the example in the OP (16 of them in a multi), so I don't know if its peak display is intensive and rendering them all twice would've been crazy.

aaronventure commented 4 months ago

Draw call overload / optimisation issue.