Comments (5)
Does this problem also occur in the CEF Sample Application
No
What command line args did you test with? Did you test with the WPF
ones?
This sounds exactly like #4565
from cefsharp.
Additional context
Yes, the error can be reproduced with the cefclient or cefsimple sample application. However, this means that the blurred display is present.
Looks like you already raised chromiumembedded/cef#3612
However, the effect is NOT present in Chrome and Chromiomembedded.
chromiumembedded/cef#3612 states that the problem does reproduce in CEF
.
You need to provide the WPF
command line args so the CEF
maintainer knows how to reproduce the problem.
It's also possible the specific GPU you are using is part of the equitation.
Closing as upstream
.
from cefsharp.
Hello amaitland,
you are correct. This is an issue based on the discussion you mentioned #4565
after further examination I can tell you that the blurry effect described is not in:
- chromium embedded
- chromium embedded with the wpf command line args
both times tested with the cefclient.exe (version 118.0.5993 and version 119.4.3).
The issue in chromiumembedded you mentioned was created by me and I hereby would like to revise the statement that the bug can be reproduced in CEF.
So I think the issue is now at the correct repo (CefSharp)
As mentioned above, the problem should be recreatable with any cefsharp sample app with any cefsharp major version higher than 96, by just opening the index.html I attached.
If needed I have attached such a sample app.
I tested it on at least three different computers with different gpus, so this should not be root of the problem.
from cefsharp.
Good morning.
Would there be another opportunity to deal with my problem?
Thank you very much.
from cefsharp.
See https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#roundingbitmapscaling
You can also try https://learn.microsoft.com/en-us/dotnet/api/system.windows.uielement.snapstodevicepixels?view=windowsdesktop-8.0
If your still having a problem then you'll need to debug the rendering implementation
- https://github.com/cefsharp/CefSharp/blob/cefsharp/120/CefSharp.Wpf/Rendering/WritableBitmapRenderHandler.cs#L54
- https://github.com/cefsharp/CefSharp/blob/cefsharp/120/CefSharp.Wpf/Themes/Generic.xaml
You can create bitmaps for each individual frame and write them to disk for diagnostic purposes, you can adapt code from https://github.com/cefsharp/CefSharp/blob/cefsharp/120/CefSharp.OffScreen/BitmapBuffer.cs and hook into the WPF
render handler.
from cefsharp.
Related Issues (20)
- Failed to load the process imported by 'CefSharp.Core.Runtime.dll'
- Feature Request - Add FilePaths to IDragData HOT 1
- Cefsharp browser is freezes in web RDP
- WPF - Cannot type the character "ě" in input fields (Czech Republic) HOT 6
- Release Notification - 120.0.x
- CefSharp.WinForms.Example.netcore crashes when popup window HOT 5
- WebGPU is not working
- Feature Request - Dynamic method & property support for script object registered from .Net HOT 4
- It's not possible to override the Accept-Language request header
- Support process singleton with IBrowserProcessHandler.OnAlreadyRunningAppRelaunch callback HOT 11
- White screen / frozen screen when sending a lot of requests
- A black screen flickers before the web page loads
- WPF in Win10,The scrollbar not work
- When using the `JavascriptObjectRepository.Register` function in WinForms to facilitate mutual calls between JavaScript and C#, only lowercase function names are effective. HOT 1
- AcceptLanguageList setting is strictly related with the disk cache and cannot be changed
- Since v120.1.80: Cefsharp only supports one instance of WinForms desktop app and closes other instances of the app HOT 2
- Feature Request - delete javascript window.Cefsharp attribute
- User Agent can not be modifed by setting.UserAgent
- WinForms - Opening file picker via <input type="file"> does not correctly restores focus after canceling/picking a file HOT 5
- Getting weird error in a set of users machines: Error Code: Aborted - Error: ERR_ABORTED
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cefsharp.