Skip to content

Change to using Chrome bootstrap by default #4835

Closed

Description

@amaitland

CEF is removing the Alloy Bootstrap (#4795) in M128.

In M126 we will switch to using the Chrome Bootstrap by default.

For a limited time you will be able to revert to using the Alloy bootstrap by setting CefSettings.ChromeRuntime to false.

cefSettings.ChromeRuntime = false;

Important

If you discover an issue with the Chrome Bootstrap then you need to raise the issue on the CEF ISSUE TRACKER

https://github.com/chromiumembedded/cef/issues

Please post a link in #4795 for reference, don't create an issue in this repository.


chromiumembedded/cef#3685

Activity

  1. added this to the 126.1.x milestone on Jun 13, 2024
  2. self-assigned this
    on Jun 13, 2024
  3. amaitland commented on Jun 21, 2024

    @amaitland
    MemberAuthor

    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.

    CefSharpSettings.RuntimeStyle = CefRuntimeStyle.Chrome;
    

    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).

  4. amaitland commented on Jun 22, 2024

    @amaitland
    MemberAuthor

    For a limited time you will be able to revert to using the Alloy bootstrap by setting CefSettings.ChromeRuntime to false.

    cefSettings.ChromeRuntime = false;
    

    Once chromiumembedded/cef#3685 has been resolved the Alloy bootstrap 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.

  5. amaitland commented on Jun 23, 2024

    @amaitland
    MemberAuthor

    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.

  6. amaitland commented on Jun 27, 2024

    @amaitland
    MemberAuthor

    Important

    If you discover an issue with the Chrome Bootstrap then you need to raise the issue on the CEF ISSUE TRACKER

    https://github.com/chromiumembedded/cef/issues

    Please post a link here for reference, don't create an issue in this repository.

  7. amaitland commented on Jun 29, 2024

    @amaitland
    MemberAuthor

    If you discover an issue with the Chrome Bootstrap then you need to raise the issue on the CEF ISSUE TRACKER

    https://github.com/chromiumembedded/cef/issues

    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

  8. amaitland commented on Jul 2, 2024

    @amaitland
    MemberAuthor

    The Alloy bootstrap will be removed upstream in M128

  9. amaitland commented on Jul 21, 2024

    @amaitland
    MemberAuthor

    The disable-pdf-extension flag is not supported with Chrome bootstrap.

  10. amaitland commented on Jul 21, 2024

    @amaitland
    MemberAuthor

    Known issues

    List at #4795

  11. chacham2 commented on Jul 24, 2024

    @chacham2
    Contributor

    The disable-pdf-extension flag is not supported with Chrome bootstrap.

    Will it ever be?

  12. max3163 commented on Sep 6, 2024

    @max3163
  13. amaitland commented on Sep 7, 2024

    @amaitland
    MemberAuthor

    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 CefSharp then please add the link in #4795)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions