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

[BUG] Browser UI crashes trying to load large lists of variables #3049

Open
2 tasks done
stuartpinfold opened this issue Sep 24, 2024 · 2 comments
Open
2 tasks done
Labels
BUG Something isn't working

Comments

@stuartpinfold
Copy link

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

In v3.4.0, when trying to load either the list of variables from the Variables tab then selecting a connection, or when using the drop down list while setting a command, the browser UI crashes resulting in the browser "Wait/Exit Page" dialogue appearing. This only happens when the list of available variables is particularly large, however a single connection to vMix (a few thousand variables in a large show file). I have tried a number of times to "Wait" but the list never seems to load.

In previous versions, the browser hung for a few seconds when loading these lists, but it always appeared within about 10 seconds and no further intervention.

Perhaps a solution for the drop downs might be to only display a filter list once two or three characters have been entered, rather than trying to display the whole list upon first click.

Steps To Reproduce

No response

Expected Behavior

No response

Environment (please complete the following information)

- OS:
- Browser:
- Companion Version:

Additional context

No response

@stuartpinfold stuartpinfold added the BUG Something isn't working label Sep 24, 2024
@thedist
Copy link
Member

thedist commented Sep 24, 2024

As you're using vMix, have you correctly configured its Companion module? By default, each input has variables to reference it by Name, Number, and GUID, but it's entirely possible for you to disable it showing the types you're not using. For example if you're only using input variables by Name, you can disable Number and GUID and it'll not include them in the list of variables or variable auto-complete. This lets you reduce the number of variables shown by a SIGNIFICANT amount.

@stuartpinfold
Copy link
Author

As you're using vMix, have you correctly configured its Companion module? By default, each input has variables to reference it by Name, Number, and GUID, but it's entirely possible for you to disable it showing the types you're not using. For example if you're only using input variables by Name, you can disable Number and GUID and it'll not include them in the list of variables or variable auto-complete. This lets you reduce the number of variables shown by a SIGNIFICANT amount.

Ah, I wasn't aware of this, will check it out. Regardless, the previous versions loaded the whole list, but the latest version doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants