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

Ui does not refresh properly when load_bundle is called. #138

Open
raidolo opened this issue Jul 31, 2023 · 0 comments
Open

Ui does not refresh properly when load_bundle is called. #138

raidolo opened this issue Jul 31, 2023 · 0 comments

Comments

@raidolo
Copy link

raidolo commented Jul 31, 2023

Hi,

I have a strange behavior with the UI.
Whenever a bundle is loaded using the /pedalboard/load_bundle web API, the UI do not refresh properly, the pedalboard name stays the same, only the snapshot name changes according to what's in the new bundle. Also, using the API /pedalboard/info doesn't get updated, but it reports the previous bundle info.
If I do a refresh hitting F5 within the browser then everything is refreshed properly.
I had a look at the callback "loading_end" called by host.py and defined in the host.js, and it seems it just loads the snapshot name, but nothing else.

Could you please have a look or point me in the right direction to properly refresh the page with the new bundle?

Thanks a lot in advance.

Regards,
Alessio.

@raidolo raidolo changed the title Ui do not refresh properly when load_bundle is called. Ui does not refresh properly when load_bundle is called. Jul 31, 2023
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

1 participant