CEF3: Consider dropping the WinForms control
This isn't as controversial as it seems; it's quite easy to host WPF controls in a Windows Forms app. However, I do feel that with the current level of stability, and maturity of the example app (for example), the Windows Forms control doesn't really do CefSharp3 justice. It would be better (IMHO) to just drop it, and instead recommend people to just use WPF. If they must use it in a WinForms application, the link in this issue would be the solution.
What does the rest of you feel about this? Good idea or bad?
I think the alternative would be for someone to really dig into the WinForms code, try to make it good and so on (a little bit like I've been doing with the WPF one), but this hasn't really happened thus far. I don't use WinForms personally, frankly I hate it. :smiley: So it's very unlikely that I will take some of my small amount of time and dedicate it on something like that.
@penderi Are there any particular features you require in the CefSharp3 WinForms that aren't there currently?
GetImage is exposed in Cef, but not available in cefsharp3. It is exposed on cef_browser.h
On Tue, May 20, 2014 at 10:00 PM, amaitland [email protected]:
@penderi https://github.com/penderi Are there any particular features you require in the CefSharp3 WinForms that aren't there currently?
— Reply to this email directly or view it on GitHubhttps://github.com/cefsharp/CefSharp/issues/241#issuecomment-43704676 .
@RobertChrist I did a quick look in http://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowser.html which matches the CEF3 version our current master branch is using. You are right it is in CEF1 though -> http://magpcss.org/ceforum/apidocs/projects/(default)/CefBrowser.html#GetImage(PaintElementType,int,int,void*)
Closing this one - we will definitely keep the WinForms control, since people have started actually caring about it (and not just from a user's POV).
Sorry to chime in here (if I can - please delete if you feel this is not necessary) but Winforms is NOT deprecated. It is simply another MS technology for developing client applications.
Microsoft have said this themselves in recent TechEd discussions (http://www.infoq.com/news/2014/04/WPF-QA).
I don't want to have my app bloat out its heapspace by loading God-knows-how-many assemblies into its memory space to use CEF if it only exists as a WPF control. So if I can help out working on the Windows Forms port, let me know.
Dave
Windows Forms is continuing to be supported, but in maintenance mode. They will fix bugs as they are discovered, but new functionality is off the table.
@davewthompson Long as there is enough interest from Developers in a WinForms version then we'll continue to maintain one. Unfortunately Maintenance mode does sound very much long the end for WinForms long term :frowning:
Keep Winforms. There are many developers that have never programmed WPF and never needed to. The reason why is many of these application are enterprise apps and never required fancy rendering. Chromium does its own off screen rendering. Winforms merely provided a host environment and its far easier to use than WPF. The main issue Winforms developers have with WPF is XAML and this will impeded the adoption of CEFSharp.
In addition, you have no portability story with WPF. At least Mono (Xamarin) supports WinForms and will make it easier to port to Linux & Mac a Winforms based application. So with WinForms you have a consistent hosting environment and a portability story.
It would be interesting to know the issues with hosting CEF in WinForms to see if they can be resolved.
@cwaldron Your two years late to the party here.....
Just my 2 cents... WinForms must live until WPF version will works with D3DImage, because today with bitmap copy it's less smoother animation and more CPU eating specially for WebGL application and 60 FPS.
@mortalV This issue was closed almost two years ago, it's not relevant!!!
I'm going to lock this now, hopefully that gives everyone gets the message.