-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Unable To Run CEF4Delphi with Delphi_FMX_Linux/FMXExternalPumpBrowser2 #422
Comments
In the middle of the Linux Console you see an error. This is because I copied CEF with user root and not changed the permissions. |
The FMX initialization in Delphi 11 seems to have changed. I'll have to ask for some favors to test this because I only have a Delphi Pro license. |
I've tested it now with Delphi 10.4. But it is the same problem. |
can it be some other error since it doesn't work with Delphi 10.4 either? |
I'll try to implement the Linux work scheduler in a similar way than the CEF sample application to see if that's a requirement now. The Lazarus demo with an external pump is also having initialization problems with the last CEF binaries. I'll try to fix that first and then I'll ask for favors to test the Delphi solution because I only have a Delphi Pro license. Sorry if this is taking too long. |
After implementing the new Linux work scheduler I still get the same issue with all browsers using an external message pump in Linux. The previous CEF4Delphi release which included Chromium 101 didn't have this issue. Please keep using the previous release. I'll check again all code changes in CEF 102. |
I'm getting this error on the terminal when I try to run some (all?) Linux demos built with Lazarus with GlobalCEFApp.MultiThreadedMessageLoop set to false. |
The CEF project maintainer said that GTK3 is enabled by default. GTK3 is required by the Chrome runtime. Client applications using GTK2 will now require a custom build of CEF with use_gtk=false set via GN_DEFINES. The update to CEF 102 included this : It seems that it's necessary to use only GTK3 when GlobalCEFApp.MultiThreadedMessageLoop is false. |
The latest update includes some Lazarus demos using GTK3. |
The latest update fixes this issue but it's also necessary to modify the FMX.Platform.Linux.pas unit in FMXLinux in order to avoid an access violation. Please, download the latest CEF4Delphi version and test this on your computer. |
Hi.
I've been trying to compile and start Delphi_FMX_Linux/FMXExternalPumpBrowser2 for hours now. Without success.
I use Delphi 11.1 Architect with FMXLinux 1.69
Start it with PAServer on Ubuntu 18.04 LTS with all Updates.
I can start every other FMXLinux Application.
The text was updated successfully, but these errors were encountered: