1,733 questions
Score of 3
2 answers
115 views
Unable to roll back CefSharp.WinForms.NETCore
I'm trying to roll back my C# Winforms .slnx solution to determine which repo check-in introduced an unrelated bug. When I roll back to a version that worked 6 weeks ago, the app crashes on startup, ...
Score of 0
0 answers
101 views
CefSharp initialisation problem in my WPF project
I'm trying to develop an equivalent of a webview2 using CefSharp because I need backward compatibility for systems that do not support .NET 8/10. These are the steps I performed after creating a WPF ...
Score of 0
0 answers
110 views
An error occurred while validating. HRESULT = '80004005'
I'm implementing CI/CD for a couple applications using GithubActions in GHES with a self-hosted runner and I've been facing this problem "An error occurred while validating. HRESULT = '80004005'&...
Score of 0
0 answers
57 views
Why should I use `Cef.GetGlobalRequestContext().RegisterSchemeHandlerFactory` instead of `CefSettings.RegisterScheme` for built-in schemes?
I want CefSharp to "serve" files from the File-System.
The documentation describes how to use CefSettings.RegisterScheme:
settings.RegisterScheme(new CefCustomScheme
{
SchemeName = "...
Score of 0
0 answers
143 views
Setting the referrer
I'm using CEF-Sharp in a utility that a makes use of some Google Maps APIs. Google has recently been sending out emails whining about 'unsecured API keys'. So, on investigating, I figured the easiest &...
Score of 0
1 answer
86 views
Translate property names of JavaScript objects passed to .NET in CefSharp
I am using the JavaScript Integration in CefSharp to expose a .NET class to JavaScript.
Simplified Example:
public class Transformer
{
public Rect Rotate(Rect rect)
=> new Rect { Width =...
Score of 0
1 answer
190 views
WinForms are being distorted using CefSharp
I have an WinForms application in C# which is working fine. I am trying to integrate the CEF with it. As soon as I initialize the CEFSettings, all my forms get distorted. I'm new to WinForms and can't ...
Score of 0
0 answers
235 views
CefSharp is crashing the Application on VDI
We have an application that uses CefSharp (131.0.6778.86) to display several quite simple html pages within a WinForms Application.
For one specific customer the application suddenly crashes with ...
Score of 1
2 answers
123 views
СhromiumWebBrowser scaling issue when resizing application window in WPF Application
I want to scale the browser window in my application to fit the available space. However, standard methods for implementing this functionality do not work correctly, as seen in the image below.
I ...
Score of 1
0 answers
900 views
Exception: Cef.IsInitialized was false!.Check the log file for errors!. - On around 1 out of 20 startups of the same binary
On around 1 of 20 startups of the C# WPF application and opening a window with CefSharp Control on it, I get the exception:
Cef.IsInitialized was false!.Check the log file for errors!. See
https://...
Score of 1
1 answer
44 views
shadowRoot CefSharp DOM
How can we access objects in ShadowRoot (Open) using CefSharp DOM? Can you give some examples. pleace, not use javascript.
page:
<div id="host">
#shadow root (open)
<!-...
Score of 1
0 answers
82 views
CefSharp multi instance/run webbrowser?
when using cefsharp in netforms/wpf and i try to start the app for a second time it opens correctly but in taskmanager the apps are in different main processes.
image
i have tried allot of different ...
Score of 0
1 answer
152 views
CefSharp WPF Upgrade Needs Another Reference?
I have a CefSharp project using WPF and I'm upgrading my reference from 105.3.390 to 119.4.30 (those are specific versions I need based on the program that is hosting my code). Why I upgrade I get a ...
Score of 2
0 answers
412 views
When two instance of a WPF app using Cefsharp are running, the second one can't initialyse Cef
I have a WPF application using CefSharp to have a web browser integrated in the app.
I noticed that when I start a second instance of my application, the CefSharp initialisation fail. Cef.Initialize(.....
Score of 0
1 answer
94 views
CefSharp.Wpf.Hwnd Blocks Keyboard Layout Change Detection in WPF Application
I am working on a WPF application that integrates CefSharp to render web content. Initially, we used CefSharp.Wpf, and everything worked as expected, including the ability to detect keyboard layout ...