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

On Linux sometimes it is required to show window before embedding browser, even when window handle is available #347

Closed
cztomczak opened this issue Apr 16, 2017 · 0 comments
Milestone

Comments

@cztomczak
Copy link
Owner

Issue reported by user when using gtk2.py example. Even though window is realized and get_window_handle() returns a valid handle, the browser creation fails due to some race condition in GTK/X11. Showing window before browser is embedded resolves the problem.

In the wxpython.py example it is required on Linux to show window before embedding, but in this case it is mandatory because window handle returned is 0. In the gtk2.py example window handle is valid, but the X11 window seems not to be yet ready for CEF browser to be embedded in it.

Issue in details reported on the Forum:
https://groups.google.com/d/topic/cefpython/IKfi_yrIOmY/discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant