Enum listeners not working in 0.8.4959
Hi Rive team! 👋 First, thank you for all the work you put into the editor, it's genuinely a joy to build in. I think I may have hit a regression after the latest update, and I wanted to share what I've found in case it helps. I'm really not sure of the cause, so please take my guess at the end with a grain of salt!
The Setup:
I updated the editor from 0.8.4941 to 0.8.4959. After that, some of my interactive ENUM-backed selectors stopped responding to taps in the editor. These are buttons inside nested components/artboards whose listener sets a view-model ENUM property on tap. After the update, tapping no longer changes the enum value.
A few details that might help narrow it down
If I set the enum manually in the Data panel, the visuals update correctly, so the binding and artwork seem fine. It's specifically the tap-to-set-enum listener that isn't firing/applying.
It affects some nested enum selectors but not all of them, and I haven't pinned down what's different about the ones that break. One of the affected enums is fairly large (130+ values), in case that's relevant.
Some affected buttons are fully unresponsive, others are slow or intermittent.
Non-nested enum properties (directly on the top-level VM) still work fine, and non-enum controls work.
Things I tried that did not help
-Rebinding the listener.
-Rebinding the listener's condition.
-Quitting and relaunching the editor several times.
-A second computer. It reproduced on both macOS and Windows, so it doesn't seem OS-specific.
The one thing that did fix it
Changing the affected property from Enum to String (same component, same listener) makes it work immediately. It's not a real fix for me since I lose the enum's value set, but it felt like a strong clue.
Why I suspect the update specifically
A .riv I exported before the update still runs correctly in the runtime (I tested on the iOS runtime on device), so the previously-exported file is unaffected.
If I open an older revision of the same project (from version history, from before any of this) in 0.8.4959, some of those same enum selectors are now broken too, even though that revision worked perfectly when it was current.
A brand-new file built in 0.8.4959 with the same nested-enum and listener setup works fine.
My hypothesis (and I'm genuinely unsure!)
Could opening or re-exporting an older file in 0.8.4959 be changing/migrating its enums in a way that breaks the tap-to-set-enum listener, while freshly-authored enums and already-exported files stay fine?
Thanks so much for taking a look! 🙏