Skip to content

Update CEF Version to 138.0.21 #193

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

wavecommander
Copy link

This PR could break older Flutter projects that have main.cc and my_application.cc source files in linux/ and not in linux/runner/ as newly created Flutter projects do.

I did not test this on Windows.
Windows may be broken before and/or after this change for all I know

This PR updates the CEF version used to the latest: 138.0.7204.101.
There was only a small change to the function signature of CefClient::OnBeforePopup that prevented compilation with the newer version and needed to be updated in the WebviewHandler subclass.

It also includes a change to how GTK is linked in CMake: wavecommander@d62fa09.
I had problems getting it to link correctly and found that GTKMM is the official GTK C++ interface and switched to linking against that.

I installed libgtkmm-3.0-dev libgtkmm-3.0-1t64 libgtk-3-dev libgtk-3-0t64 on Ubuntu 24.04 in order to successfully build my Flutter project that used this as a dependency, but it is possible that not all of those were necessary or the list could be incomplete as well.

@1056824847
Copy link

flutter 3.32 version runs abnormally, flutter 3.29 runs normally

@wavecommander
Copy link
Author

wavecommander commented Jul 18, 2025

@1056824847

flutter 3.32 version runs abnormally, flutter 3.29 runs normally

How so? What results did you find?
I did make this PR with version 3.32 installed.

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

Successfully merging this pull request may close these issues.

2 participants