-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinForms HiDpi Displayed Incorrectly #1803
Comments
Have you tried building https://github.com/cefsharp/CefSharp/blob/cefsharp/53/CefSharp.WinForms.Example/Program.cs#L47 If that doesn't work you'll have to dissect cefclient to see what it's doing differently. |
If the problem was limited to the latest release then I'd be more inclined to think this was an actual issue. I'm guessing it's likely an environmental/configuration issue at this point. I've updated the |
Thanks @amaitland , adding these changes solved the issues I had! |
I have the same issue. Build and run a minimal example with Display Settings scaling on Windows 10 set to 100%, all works fine. Change the scaling to 150% and the display portion of the browser does not fill the window and the remaining area is set to black. Disable-gpu and all works fine???? |
I can confirm that @amaitland 's suggestion work for me. Seems the relevant change is:
|
This issue exists on AnyCPU and applying these configurations doesn't solve it The only work around I found so far is disabling the gpu Any hints?? |
Thanks for this, was having similar issues. Still not really sure how to make it work (i'm actually using cef pure). |
Did someone fixed it? |
When running the minimal WinForms project I have this issue:
Only disabling the gpu
settings.CefCommandLineArgs.Add("disable-gpu", "1");
helps, but I can't do this because there is WebGl content that I want to display.Interesting to note is that in version 43.0.0 this displays correctly.
WinForms
,WPF
orOffScreen
? WinForms (WPF works, but my application is WinForms)Cef
TestApp from http://opensource.spotify.com/cefbuilds/index.html (http://cefbuilds.com for older version)?no, there it displays normally
The text was updated successfully, but these errors were encountered: