-
Notifications
You must be signed in to change notification settings - Fork 227
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
QCefWidget misses CEF main frame after being hidden once #375
Comments
Please provide either the crash log or a stack trace from VS. It'll help determine whether the crash is in our own code, or deep within CEF. |
Thanks for the prompt response. This is the VS stack trace to the point where the nullpointer is coming up. The exception then occurs one step out when trying to call |
Interesting - that crash is within the CEF wrapper's code, rather than in ours directly. I will look into this when I can, before 28's final release. That code hasn't changed on our side since it was introduced. Interestingly, we don't protect against an invalid In the meantime, what happens if you try showing the widget first (so swap lines 70 and 71 in |
As a note:
|
Thanks a lot for your support. I swapped the lines and the result is the same. The window opens during the debugging step, but on the setURL afterwards it still crashes with _retval = 0x000.... You beat me to the comment from the source code, was just about to post it here as well |
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
28.0.0-beta2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/FVEWXEztE0yVkLau
OBS Studio Crash Log URL
None available
Expected Behavior
QCefWidget (nested in a QDialog) can set the URL and be shown properly after being closed.
Current Behavior
QCefWidget can set the initial URL and navigate to a different URL. After being hidden once, setting the URL for a new display causes a full OBS crash.
Steps to Reproduce
Anything else we should know?
tl;dr: We are creating a QDialog that contains a QCefWidget. Hiding this dialog and then re-setting the QCefWidget URL causes a crash in OBS 28, while it works in OBS 27.2.4
The text was updated successfully, but these errors were encountered: