chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.28k stars 456 forks source link

chrome: Support correct process singleton behavior #3609

Closed magreenblatt closed 10 months ago

magreenblatt commented 10 months ago

Is your feature request related to a problem? Please describe. Singleton behavior should mean that only one instance of the application is running for each unique User Data directory. In practice, running cefclient.exe --enable-chrome-runtime twice actually launches a default-styled Chrome window the 2nd time. This may be related to #3608.

Describe the solution you'd like Singleton behavior should activate the existing CEF client app instance, or optionally be disabled if the client handles singleton behavior itself.

Describe alternatives you've considered Process singleton behavior is currently enabled (ENABLE_PROCESS_SINGLETON=1) in chrome/browser/BUILD.gn. We will disable this functionality temporarily in M120.

magreenblatt commented 10 months ago

A solution that also works with Alloy runtime would be ideal.