Description
These examples freeze during initial loading or later when typing something on a page. Issues occurs in v66.0 on Mac 10.9.
Temporary solution
See Migration Guide doc "v66+ Changes to Mac apps that integrate into existing message loop (Qt, wxPython)":
https://github.com/cztomczak/cefpython/blob/master/docs/Migration-guide.md#v66-changes-to-mac-apps-that-integrate-into-existing-message-loop-qt-wxpython
Reported problem on the CEF Forum in many details:
https://magpcss.org/ceforum/viewtopic.php?f=6&t=16181
I can see ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context
error message in console, however this message doesn't seem to be the cause, as I also see this message when running hello_world.py example and it works fine.
The Lost UI shared context
error can be safely ignored according to:
https://stackoverflow.com/questions/49094399/chromedriver-showing-lost-ui-shared-context
hello_world.py, screenshot.py and tutorial.py examples do work fine on Mac.
I can also see ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer
.
Passing disable-gpu
and disable-gpu-compositing
switches to cef.Initialize
does not help. However it seems that the ContextResult::kTransientFailure..
error message disappears after these switches are passed (though more testing needed if it's just luck).
Issue is not related to recent Cython dupate, as I've tested both 0.25.2 and 0.28.4 and the issue occurs in both.
TODO: Compare cefpython/src/subprocess/main_message_loop*
files with cef/tests/shared/browser/main_message_loop*
files. These files may have been changed after v66 update.