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
CefSharpSettings.RuntimeStyle has been added to simplify switching to using the Chrome styled windows. This is a global setting, must be set before creating your first ChromiumWebBrowser instance.
Behaviour can be controller on a per ChromiumWebBrowser instance via overriding ChromiumWebBrowser.CreateBrowserWindowInfo.
This is only for WinForms and Wpf.HwndHost. The OffScreen and WPF implementations will always use Alloy styled windows (that's all CEF supports, the property is ignored for offscreen rendering).
CEF has it's own support forum and issue tracker should you discover any bugs or changes in behaviour with the Chrome bootstrap, you can discuss them on the forum or raise issues on the issue tracker.
CefSharpSettings.RuntimeStyle has been added to simplify switching to using the Chrome styled windows. This is a global setting, must be set before creating your first ChromiumWebBrowser instance.
For those using the Chrome runtime currently will need to change the runtime style to Chrome to keep the same behaviour.
If something doesn't work with the Chrome bootstrap and you switch back to the Alloy bootstrap and it works as expected then you'll need to raise an issue on https://github.com/chromiumembedded/cef/issues
In the short term keep using the Alloy bootstrap until the bug is fixed upstream
Links have been updated, going forward will just keep the list updated there (if you find an upstream issue that effects CefSharp then please add the link in #4795)
Activity
WinForms/WPF/OffScreen - Change to using Chrome bootstrap by default
WinForms/Wpf.HwndHost - Add CefSharpSettings.RuntimeStyle
amaitland commentedon Jun 21, 2024
CefSharpSettings.RuntimeStylehas been added to simplify switching to using theChromestyled windows. This is a global setting, must be set before creating your firstChromiumWebBrowserinstance.Behaviour can be controller on a per
ChromiumWebBrowserinstance via overridingChromiumWebBrowser.CreateBrowserWindowInfo.This is only for
WinFormsandWpf.HwndHost. TheOffScreenandWPFimplementations will always useAlloystyled windows (that's allCEFsupports, the property is ignored for offscreen rendering).amaitland commentedon Jun 22, 2024
For a limited time you will be able to revert to using the
Alloybootstrap by settingCefSettings.ChromeRuntimetofalse.Once chromiumembedded/cef#3685 has been resolved the
Alloybootstrap will be removed.CEF has it's own support forum and issue tracker should you discover any bugs or changes in behaviour with the
Chrome bootstrap, you can discuss them on the forum or raise issues on the issue tracker.amaitland commentedon Jun 23, 2024
For those using the
Chromeruntime currently will need to change the runtime style toChrometo keep the same behaviour.amaitland commentedon Jun 24, 2024
Known issues
amaitland commentedon Jun 27, 2024
Important
If you discover an issue with the
Chrome Bootstrapthen you need to raise the issue on the CEF ISSUE TRACKERhttps://github.com/chromiumembedded/cef/issues
Please post a link here for reference, don't create an issue in this repository.
amaitland commentedon Jun 29, 2024
If something doesn't work with the
Chrome bootstrapand you switch back to theAlloy bootstrapand it works as expected then you'll need to raise an issue on https://github.com/chromiumembedded/cef/issuesIn the short term keep using the
Alloy bootstrapuntil the bug is fixedupstreamamaitland commentedon Jul 2, 2024
The
Alloybootstrap will be removed upstream in M128amaitland commentedon Jul 21, 2024
The disable-pdf-extension flag is not supported with Chrome bootstrap.
amaitland commentedon Jul 21, 2024
List at #4795
chacham2 commentedon Jul 24, 2024
Will it ever be?
max3163 commentedon Sep 6, 2024
Add link to chromiumembedded/cef#3785
amaitland commentedon Sep 7, 2024
List of known issues is now at #4795 (comment)
Links have been updated, going forward will just keep the list updated there (if you find an upstream issue that effects
CefSharpthen please add the link in #4795)