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

Allow lazy initialization of webview panel #1432

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

glopesdev
Copy link
Member

The WebView2 control is significantly costly to initialize as it relies on full-blown chromium. Since each of the workflow editor windows may have one of these, it is best to delay the complete initialization call for when the annotation panel actually loads to make for a smoother editor startup experience.

@glopesdev glopesdev added the fix Pull request that fixes an issue label Jun 27, 2023
@glopesdev glopesdev added this to the 2.8 milestone Jun 27, 2023
@glopesdev glopesdev merged commit 5772c02 into bonsai-rx:main Jun 27, 2023
2 checks passed
@glopesdev glopesdev deleted the lazy-webview branch June 27, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant