1,743 questions
1
vote
0
answers
54
views
WebView2 lag and artifacts on window resize
I'm developing a very simple Windows application with WPF, please forgive my inexperience. The main control of this application will be a basic timeline with some 2D graphics involved. At first I ...
0
votes
0
answers
92
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'&...
0
votes
0
answers
45
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 = "...
0
votes
0
answers
81
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 &...
0
votes
1
answer
79
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 =...
0
votes
1
answer
159
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 ...
0
votes
0
answers
170
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 ...
0
votes
0
answers
29
views
Multi language spell suggestion cefsharp
Is anyone facing issue related to multi language spell suggestions with cefsharp? Using V134 minimum example project and not making any changes, I see the spell checker is working and showing ...
0
votes
0
answers
130
views
Usage of OnAcceleratedPaint in OSR
I'm trying to develop an application that renders the cef texture in offscreen-rendering. I don't want to render it to a form or any window. I'd like to create a texture which I'm then sharing to ...
1
vote
2
answers
96
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 ...
0
votes
0
answers
70
views
C# CefSharp/Selenium Allowing pop-ups but hiding them
I'm creating a Library where you can use Puter.js's AI API but on C#, and I'm running into an issue.
Puter has this weird pop-up authentication thingy where you have to manually click "Continue&...
0
votes
0
answers
36
views
CEFSharp console.log quit showing up in Visual Studio Output after upgrade
I have an app that uses CEFSharp. In the app I use EvaluateScriptAsync a lot such as:
var script = $@"
(function() {{
var select = document.getElementsByName('{name}')[0];
if ...
0
votes
0
answers
636
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://...
1
vote
1
answer
38
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)
<!-...
1
vote
0
answers
69
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 ...