Welcome Guest Search | Active Topics | Sign In | Register

EO.Webbrowser 26 - Webview area on high dpi Options
Fabien
Posted: Monday, January 26, 2026 11:20:01 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 136
Hi,

I'm experiencing a display issue with the Essential Objects WebView component after enabling HighDPI support in my WinForms application (.NET Framework 4.7).

**Configuration:**
- .NET Framework 4.7
- DPI Awareness: PerMonitorV2 (configured via application manifest)

**Manifest configuration:**
Code: XML
<application xmlns="urn:schemas-microsoft-com:asm.v3">
  <windowsSettings>
    <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
    <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
  </windowsSettings>
</application>


**Issue Description:**
After enabling PerMonitorV2 DPI awareness, the WebView control displays incorrectly after some url load. Some elements appear outside the control's bounds and no scrollbar are displayed. The issue resolves itself when I manually resize the parent form, which suggests a scaling/layout calculation problem during the initial rendering.

I noticed similar issues were reported and fixed in previous versions on your forum. Has this regression been identified in the current version? Is there a patch or updated version available that addresses PerMonitorV2 compatibility for the WebView component?

Thank you for your help.

Fabien

eo_support
Posted: Monday, January 26, 2026 1:34:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,460
Thanks for letting us know. We will look into it and see what we can find.
Fabien
Posted: Wednesday, January 28, 2026 11:45:36 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 136
Hi,

I also did some testing with different Windows display scaling settings. It looks like the issue does not occur when the system scaling is set to 100%. However, as soon as the scaling factor is increased (e.g. 125% or above), the layout/rendering problem appears in the WebView area.

For reference, at 100% scaling everything renders correctly, but starting at 125% scaling the WebView contents / bounds are mis-calculated, causing UI elements to overflow or layout incorrectly.

Hope this additional data point helps narrow down the root cause!

Thanks !
eo_support
Posted: Monday, February 2, 2026 12:55:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,460
Hi,

We have not been able to reproduce this problem. Our steps are as follow:

1. Create a new Windows.Forms application with the manifest setting you posted;
2. Create a new WebControl and load a web page on Form_Load;
3. Test the applicaton on different scaling level;

We have some questions about what you mentioned:

1. " incorrectly after some url load". Do you mean this only occur for specific Urls/pages? If so can you send us the Url/HTML in question? Or does it randomly occurs to any web pages?
2. "Some elements appear outside the control's bounds and no scrollbar are displayed". Do you mean the web page area overflow the WebControl's boundary? Windows.Forms creates a window handle for each control (EO.Winform.WebControl) and the WebView then creates its own handle as a child window of that window. So in theory it is not possible for the WebView's content to overflow the WebControls' boundary since the WebView's window is a child window of the WebContro's window and it's not possible for a child window to overflow its parent window.

We automatically sync the WebView's window size and the WebControl's window size. If something goes wrong on that part, then it is possible for the WebView's window size to exceed the WebControl's window size causing the WebView's contents to be clipped by the WebControl's window. In that case if the web page has a scrollbar you won't see it since it's beyond the visible area of the WebControl window thus is clipped off. If any case, a picture of the problem would be helpful.

You can use contact us page to send us test files/pictures.

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.