-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Linux : Some GTK2 demos crash #441
Comments
How to solve this problem? Compile CEF yourself? Or change to GTK3 or GTK2 in CEF4Delphi. |
Last time I checked it was possible to build the CEF binaries to fix this GTK3 dependency but I think the best solution is to move to a newer GTK version. I still need to confirm this but I think I'll have to make some changes in the Lazarus components to support GTK3. Use the previous CEF4Delphi releases if you need to embed a CEF browser in Linux now while I make some GTK3 support improvements. |
The CEF 125 binaries changed the initialization and now more GTK2 demos work again. |
Thank you for letting me know. I have already run it in the Linux GTK2 environment and it seems to be working fine so far. I'll do some more testing and then update the Energy framework. |
Under GTK2, it is still not possible to switch Chinese input methods and input Chinese |
Is there any good solution for switching Chinese input method and supporting Chinese input for Linux GTK2? |
GlobalCEFApp.AcceptLanguageList works fine in Linux. GlobalCEFApp.Locale doesn't work in Linux and you need to use environment variables as stated in the code comments : Use TChromiumCore.SpellCheckerDicts to use a custom language for the spell checker. Call TChromiumCore.UpdatePreferences after setting this property. I haven't tried the Emulation.setLocaleOverride DevTools command but perhaps it could be used in this case. Please, use our forum for questions. |
Some GTK2 demos crash because the process is mixing GTK3 and GTK2 symbols.
They need to be converted to GTK3.
The text was updated successfully, but these errors were encountered: