Replies: 7 comments 17 replies
-
Please confirm you can reproduce the issue with the MinimalExample. The This is unlikely a bug in |
Beta Was this translation helpful? Give feedback.
-
1 None. I use the default net6 windows form without any DPI Awareness changing. By putting app.manifest as code below still won't fix this problem.
It cannot be reproduced using MinimalExample core version. Any other need to be set other than default application? In my app, I just drag the control to the form, use chromiumWebBrowser1.Load(url) to load the target. That's all. |
Beta Was this translation helpful? Give feedback.
-
If the project is created from a computer without display scale setting other than 100%, the program will work without any problem, even from the computer with display scaling. |
Beta Was this translation helpful? Give feedback.
-
Actually, I think this is a well-known issue about Visual Studio Form Designer. But it affects cefsharp when getting pixel related values. |
Beta Was this translation helpful? Give feedback.
-
By writing the minimal demo app, I found the result vary based on the testing page. But in most case, OffScreen and UIbased one report differently. It may not related to DPI problem. |
Beta Was this translation helpful? Give feedback.
-
The problem is when I try to print the whole into a one-page-pdf file, setting the width and height using these numbers *264.38, using the numbers from OffScreen are right but those from UI are not. |
Beta Was this translation helpful? Give feedback.
-
We can close this discuss due to nothing wrong with CefSharp is observed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of the product are you using?
What architecture x86 or x64?
x64
What version of .Net?
.Net 6.0
On what operating system?
Win11
Are you using
WinForms
,WPF
orOffScreen
?WinForms
What steps will reproduce the problem?
Beta Was this translation helpful? Give feedback.
All reactions