Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu-style UI elements in faust2juce targets: item alway resetting to index-1 #1101

Closed
dariosanfilippo opened this issue Dec 26, 2024 · 3 comments

Comments

@dariosanfilippo
Copy link

Hello.

It appears that the selected item of menus in faust2juce projects always reset to index-1 whenever the UI is re/opened. This might be related to a bug that was recently fixed in the same target where checkboxes always switched to 1 in a similar way.

Thanks,
Dario

@sletz
Copy link
Member

sletz commented Dec 26, 2024

Thanks, please add the simplest DSP code showing the problem.

@dariosanfilippo
Copy link
Author

Correction: it seems that the problem is just when loading the app.

process = hslider("[02]Test[style:menu{'t0':0;'t1':1;'t2':2}]", 0, 0, 2, 1);

Compiling the code above with faust2juce, when reopening the app it'll always be on "t1" instead of t0.

Thanks

@sletz
Copy link
Member

sletz commented Dec 27, 2024

@dariosanfilippo Should be fixed in 2.77.4.

@sletz sletz closed this as completed Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants