You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently print handler implementation on Linux uses GTK 2 API (GTK 2.0 libraries are included during build). When you execute "print" from mouse context menu it results in this error:
[0611/190031.893481:ERROR:browser_main_loop.cc(339)] Gtk: GTK+ 2.x symbols detected.
Using GTK+ 2.x and GTK+ 3 in the same process is not supported
While this is being fixed, the "Print" option should be removed from mouse context menu in gtk3.py example on Linux.
The final solution to GTK3 problems is described in Issue #446 ("Support linking to GTK 3 when building CEF from sources and when building cefpython module").
The text was updated successfully, but these errors were encountered:
I hit the same issue. But the problem is not about "context menu". If you simple invoke browser.Print() this will result in the same error.
Is there a workaround for this?
@pinebit Print handler on Linux depends on GTK API. So I guess no easy way to resolve that. The real solution to the GTK+ 2.x symbols detected error is to build upstream CEF from sources with the use_gtk3=true GN define set in tools/automate.py script. Please ask for help on the Forum if having troubles with that.
@cztomczak I have done this already. I've built chromium 68 with CEF 3440 with use_gtk3=true. However, ldd libcef.so | grep gtk does not display any GTK libraries. Looks like in 68 they have finally removed dependency on GTK (I can be wrong).
However, assuming I have chromium and CEF built with gtk3, I don't quite understand how this is going to work, because all cefpython is built with GTK 2 (it uses gtk-2 includes and links gtk2 libraries).
UPDATE: Patch available in Issue #446.
Currently print handler implementation on Linux uses GTK 2 API (GTK 2.0 libraries are included during build). When you execute "print" from mouse context menu it results in this error:
While this is being fixed, the "Print" option should be removed from mouse context menu in gtk3.py example on Linux.
The final solution to GTK3 problems is described in Issue #446 ("Support linking to GTK 3 when building CEF from sources and when building cefpython module").
The text was updated successfully, but these errors were encountered: