64-bit Winforms CEF?
Hi all, I've seen some conflicting comments, but is there a 64-bit version of the winforms control? We're dependent on it... is there a chance support will continue or are we at the end of the line?
@jessicasco Apologies for the slow reply, unfortunately I don't have an exact time frame, hopefully soon. Feel free to check back later and see how progress is going.
@amaitland Thank you. I will keep on with your progress.
Hi, @amaitland what is the status of CEFSharp 3 master branch now? Is it soon for the first stable release?
@jessicasco It's likely there is another -pre release before the final stable.
The outstanding PR queue for milestone 31.0.0 gives a fairly accurate representation of the outstanding work required before a stable release
PR queue for milestone 31.0.0 can be found here
https://github.com/cefsharp/CefSharp/pulls?q=is%3Aopen+is%3Apr+milestone%3A31.0.0
- Most just need a review before merging.
- JS binding still requires a little work before it can be merged, as only
Functionscan be calledPropertiesaren't currently working. - There are one or two other minor issues that will need to be fixed before release.
Is it JS Binding that your hanging out for?
@amaitland Thanks for your warm response. Yeah, I'm hanging out for JS Binding. I will try the latest code. And I am really looking forward to the first stable release. Thank you for your great job.
@jessicasco If your keen to checkout the latest progress on JS binding feel free to checkout https://github.com/cefsharp/CefSharp/tree/JsBinding_WIP
I merged master into JSBinding_WIP a little over a week ago, so it's the latest and greatest version going.
I'm also looking forward to getting a stable release out the door! Hopefully active development resumes around here in the near future! :smile:
If your particularly interested in WinForms I've got another PR that will hopefully be merged into master in the near future. Hopefully the last of the API cleanup before we produce a stable release.
PR can be found here #412, so feel free to check it out and pass comment! One of my targets was to cleanup the public facing API before we publish a stable version, keep the breaking changes to a minimum after that (at least that's the dream, see how it goes in practice! lol)
@jessicasco Just an FYI that I've made quite a bit of progress with the https://github.com/cefsharp/CefSharp/tree/JsBinding_WIP branch, if you've got a spare minute it would be fantastic if you could check it out and let me know how you go!
@amaitland Really appreciate your kind notice. I am checking it out right now.
@jessicasco Your very welcome. I'm hopeful that with a little user feedback we'll be able to get JS Binding support merged into master shortly :smile:
@amaitland I tried winform example and see a BindingTest.html page. But the left below corner shows something like error: Line: 37, Source: custom://cefsharp/BindingTest.html, Message: Uncaught ReferenceError: bound is not defined. Is this expected?
@amaitland Did you remember once I want to provide some sample code to show why onhandlecreated is not invoked. I still can not figure out the cause because onhandlecreated work fine on my demo projects. I am still looking into this problem, and let you know if I find the cause.
@amaitland One other thing I care a lot is DevTool. I see the exception in winforms say that Implement when Cef upgraded to 1750. DevTool is really important for debug. Can you give me some tips on how you debug js binding work without DevTool?
I tried winform example and see a BindingTest.html page. But the left below corner shows something like error: Line: 37, Source: custom://cefsharp/BindingTest.html, Message: Uncaught ReferenceError: bound is not defined. Is this expected?
@jessicasco I've just committed another change so the binding test page loads in the WinForms Example. It doesn't have the execute functionality built into the GUI like the WPF example does. You should still be able to see it output the debugging javascript and add breakpoints into the BoundObject sample class.
One other thing I care a lot is DevTool. I see the exception in winforms say that Implement when Cef upgraded to 1750. DevTool is really important for debug. Can you give me some tips on how you debug js binding work without DevTool?
DevTools is supported, just requires a little more effort until we upgrade to 1750. I've been looking at updating WinForms.Example to be tabbed, and as part of that I've implemented DevTools, so as an example you can check out that branch https://github.com/amaitland/CefSharp/tree/feature/winforms-tabbed
Basically all you have to do is create another ChromiumWebBrowser control that points to the DevToolsUrl, specific example can be found here https://github.com/amaitland/CefSharp/blob/feature/winforms-tabbed/CefSharp.WinForms.Example/BrowserTabUserControl.cs#L237
@amaitland Thank you for your detailed instruction. I will follow these examples. ^_^
@amaitland How about try http://www.baidu.com/ you will see an exception System.InvalidOperationException.
@jessicasco Appreciate the feedback, I've just committed another change :smile:
@amaitland I replaced your new work in my project. Seems FrameLoadEnd didn't work. I am not sure the exact problem for now. But I paste the debug.log to gist: https://gist.github.com/jessicasco/bcae460110d65df60dce
@jessicasco Does the WinForms example function as expected?
@amaitland yeah, that functions well. But in my own project, some problem occurs. I have now rolled back to the previous state of cefsharp and am trying to implement DevTool to debug other problems. Later I will look into FrameLoadEnd not respond problem and give you more detail.
@amaitland Using the newest code from JsBinding_WIP I have the following problem:
[0915/222508:ERROR:child_process_launcher.cc(327)] Failed to launch child process The remote procedure call was cancelled. Can't figure out the reason, it works fine 5 days ago before your merge that day.
And When I am using the version 5 days ago, I registered an js object called FormWrapper, using a devTool, I see that there is no FormWrapper but formWrapper. The first letter is lowercased. Besides this, when call method on formWrapper, TryCallMethod in JavascriptObjectRepository.cs does not work normally. The program crashes on the line result = method.Description.Function(obj.Value, parameters); Can you help check this method?