Troubleshooting

Menu component bug

Started by gbevin on .

Sign in or create an account to join the conversation.

6 posts

Topic starter
Hi,

I stumbled into a bug with the Menu component. If I create one with 24 options and enable Scale Output, the option with index 14 can't be selected (named 'Option 15' in my attachment). The x value is sent out correctly, but it always snaps back to index 13. The same happens with incoming OSC data, the value of index 14 always shows index 13. Here's an exported Menu in attachement that does just that.

menubug.jzlib

Does this happen for anyone else?

Thanks,

Geert
I implement the scaling myself and this bug seems to actually be a Menu component bug itself. When I set the selection to float values, it misbehaves as explained above. When I however round the values to make them integers and set the selection those, the Menu component works fine. I suspect that that's what also happening when the built-in scaling is in use.