Git Product home page Git Product logo

Comments (5)

amaitland avatar amaitland commented on September 27, 2024

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

#4565 (reply in thread)

from cefsharp.

amaitland avatar amaitland commented on September 27, 2024

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.

dongsiDaengsi avatar dongsiDaengsi commented on September 27, 2024

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.

CefSharpTest.zip

from cefsharp.

dongsiDaengsi avatar dongsiDaengsi commented on September 27, 2024

Good morning.
Would there be another opportunity to deal with my problem?
Thank you very much.

from cefsharp.

amaitland avatar amaitland commented on September 27, 2024

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

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.