|
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
|
|
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!
|
|
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
|
|
Rank: Advanced Member Groups: Member
Joined: 12/23/2013 Posts: 115
|
Hi,
is this something you will address?
Regards, Stefan
|
|
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!
|
|
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
|
|
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!
|
|