Miraweb: [Live.grid] - updating @columns breaks Miraweb

lysdexic's icon

Been loving Miraweb, but discovered an issue today with [live.grid] when trying to update the columns attribute.

I'm only using a single row and the following happens:

Changing this attribute crashes miraweb.

Even with a sizeable qlim / speedlim between, the redraw does not clear the old UI for [live.grid] making the UI unresponsive and usually crashes.

I've attached a test patch.

I get the following in the Javascript console (chrome):

PixiJS 4.8.3 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥
app.js?08c7e25c19e7da79d441:41 Uncaught TypeError: Cannot set property '_needsRedraw' of undefined
at t.value (app.js?08c7e25c19e7da79d441:41)
at t.value (app.js?08c7e25c19e7da79d441:41)
at t.value (app.js?08c7e25c19e7da79d441:1)
at app.js?08c7e25c19e7da79d441:41
at Array.forEach (<anonymous>)
at t.value (app.js?08c7e25c19e7da79d441:41)
85app.js?08c7e25c19e7da79d441:41 Uncaught TypeError: Cannot set property 'cellStyle' of undefined
at t.value (app.js?08c7e25c19e7da79d441:41)
at t.value (app.js?08c7e25c19e7da79d441:41)
at t.n.emit (app.js?08c7e25c19e7da79d441:11)
at t._onParamChange (app.js?08c7e25c19e7da79d441:36)
at t.n.emit (app.js?08c7e25c19e7da79d441:11)
at t.value (app.js?08c7e25c19e7da79d441:61)
at t.n._modifyNode (app.js?08c7e25c19e7da79d441:11)
at t.n.emit (app.js?08c7e25c19e7da79d441:11)
at t.value (app.js?08c7e25c19e7da79d441:61)
at t.value (app.js?08c7e25c19e7da79d441:61)

Max Patch
Copy patch and select New From Clipboard in Max.

lysdexic's icon

Tested this with the iOS Mira app, and bug doesn't seem to occur - only happens with Miraweb