CefSharp icon indicating copy to clipboard operation
CefSharp copied to clipboard

Remove Alloy Bootstrap (M128)

Open amaitland opened this issue 2 years ago • 11 comments

CEF is going to remove the Alloy Bootstrap

  • Upstream issue https://github.com/chromiumembedded/cef/issues/3685
  • Announcement

Starting in M125 it will be possible to migrate over to the Chrome Bootstrap.

amaitland avatar May 06 '24 01:05 amaitland

CefSharp will likely switch to using the Chrome Bootstrap by default in M126 to ensure any underlying issues are identified before the alloy bootstrap is removed.

amaitland avatar May 06 '24 01:05 amaitland

CefSharp will likely switch to using the Chrome Bootstrap by default in M126 to ensure any underlying issues are identified before the alloy bootstrap is removed.

Confirming this change (https://github.com/cefsharp/CefSharp/issues/4835)

amaitland avatar Jun 22 '24 00:06 amaitland

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 to the upstream issue below so it can be added to the list, don't create an issue in this repository.

amaitland avatar Jun 27 '24 21:06 amaitland

The Alloy bootstrap will be removed upstream in M128

amaitland avatar Jul 02 '24 20:07 amaitland

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

amaitland avatar Jul 21 '24 19:07 amaitland

  • https://github.com/chromiumembedded/cef/issues/3750
  • https://github.com/chromiumembedded/cef/issues/3749
  • https://github.com/chromiumembedded/cef/issues/3726
  • https://github.com/chromiumembedded/cef/issues/3740
  • https://github.com/chromiumembedded/cef/issues/3739
  • https://github.com/cefsharp/CefSharp/issues/4847
  • https://github.com/cefsharp/CefSharp/issues/4621
  • https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19942#p55974
  • https://github.com/chromiumembedded/cef/issues/3785
  • https://github.com/chromiumembedded/cef/issues/3783
  • https://github.com/chromiumembedded/cef/issues/3779
  • https://github.com/chromiumembedded/cef/issues/3776
  • https://github.com/chromiumembedded/cef/issues/3772
  • https://github.com/chromiumembedded/cef/issues/3768
  • https://github.com/chromiumembedded/cef/issues/3764
  • https://github.com/chromiumembedded/cef/issues/3744
  • https://github.com/chromiumembedded/cef/issues/3726
  • #4936

amaitland avatar Jul 21 '24 19:07 amaitland

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

Workaround https://github.com/chromiumembedded/cef/issues/3739#issuecomment-2250694767

amaitland avatar Sep 07 '24 20:09 amaitland

@amaitland https://github.com/chromiumembedded/cef/issues/3860 means WPF has this issue, since as I understand it, WPF is still using Alloy.

I've searched everywhere, but I'm unclear what the eventual complete removal of Alloy in CEF is going to mean for CefSharp WPF? Will the Chrome Bootstrap support WPF?

mol avatar Dec 29 '24 15:12 mol

My understanding there's two parts, bootstrap and style. The alloy bootstrap has already been removed. The chrome bootstrap is the only option now.

The chrome bootstrap supports alloy styling. OSR which the WPF implementation uses is only supported with alloy styling.

I'm not aware of any plans to remove alloy styled browsers. If you're seen something to the contrary then please share a link.

There are a number of issues that you might run into with the OSR implementation as it stands, the key ones being

https://github.com/chromiumembedded/cef/issues/3826 https://github.com/chromiumembedded/cef/issues/3822 https://github.com/chromiumembedded/cef/issues/3764

There is the hwndhost implementation which can be configured to use chrome styling. (Airspace issues apply) https://github.com/cefsharp/CefSharp.Wpf.HwndHost

I'm not sure if this is viable for you as an alternative, just pointing it out just in case.

I'm in the process of moving the source into the main repo https://github.com/cefsharp/CefSharp/pull/4981

amaitland avatar Dec 29 '24 22:12 amaitland

My understanding there's two parts, bootstrap and style. The alloy bootstrap has already been removed. The chrome bootstrap is the only option now.

Ah, I see. I wasn't fully aware of this distinction - good to know, thanks.

Thanks for the other links - I'll play around with it some more and see what I can find.

mol avatar Dec 30 '24 10:12 mol