Welcome Guest Search | Active Topics | Sign In | Register

Issue when running WebBrowser on HighDPI (200%) Options
Stefan Koell
Posted: Thursday, October 8, 2015 6:19:12 AM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 115
Hi,

I'm just trying to adapt my app to be DPI aware (using the WinForms component) and realized that the WebBrowser control renders incorrectly on HighDPI setting (200%). It seems that the rendering is just the upper left quarter of the control area while mouse input seems to be on the correct coordinates.

The issue can be reproduced using the TabbedBrowser example.

Regards,
Stefan
eo_support
Posted: Thursday, October 8, 2015 7:32:50 AM
Rank: Administration
Groups: Administration

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

Please try to set EO.WebBrowser.Runtime.DisableGPU to true and see if it corrects the rendering for you.

Thanks!
Stefan Koell
Posted: Thursday, October 8, 2015 8:11:48 AM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 115
Hi,

thanks for your quick response!

I can confirm that setting DisableGPU to true has correct rendering.
Well almost: the rendered area now fills the control area but there's still two issues:

1: the scrollbars are not scaled properly (they are too small)
2: the content of the web page is also too small (not zoomed correctly?). Viewing the same web page in Chrome directly looks different.

Regards,
Stefan
Stefan Koell
Posted: Thursday, October 15, 2015 11:30:56 AM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 115
Hi,

is this something you will address?

Regards,
Stefan
eo_support
Posted: Thursday, October 15, 2015 2:55:34 PM
Rank: Administration
Groups: Administration

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

We are trying to look into this part however it involves GPU acceleration that we are not familiar with. We will let you know as soon as we make any progress on this.

Thanks!
Stefan Koell
Posted: Friday, October 16, 2015 3:01:17 AM
Rank: Advanced Member
Groups: Member

Joined: 12/23/2013
Posts: 115
Thank you!

Please note that there are still two issues on high DPI, even when DisableGPU is true:
1: the scrollbars are not scaled properly (they are too small)
2: the content of the web page is also too small (not zoomed correctly?). Viewing the same web page in Chrome directly looks different.

The above two issues are independent from the GPU acceleration and should be fixed soon. Right now, the WebBrowser component is not really usable on high DPI settings.

Thank you,
Stefan
eo_support
Posted: Wednesday, October 21, 2015 9:12:54 PM
Rank: Administration
Groups: Administration

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

We have posted a new build that may resolve the issue for you. Please see your private message for the download location.

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.