awesomium/awesomium-pub

The value of the Zoom property is not synchronized across views with the same host loaded.

Opened this issue · 0 comments

When setting the IWebView.Zoom property, the Zoom property for other views that share the same domain/hostname isn't updated even though their content is also zoomed.

Example: Tab A and tab B that both share the same hostname. Zooming in to a value of 200 on tab A, however tab B still has a Zoom value of 100 despite it being visually zoomed in.

The reason for this behavior is Awesomium's Asynchronous API. The getter and setter of the Zoom property are also sent via a piped message to the child-process and do not complete immediately.

For the next release of Awesomium and Awesomium.NET (v1.7.6), we have applied an asynchronous update process of the Zoom property of all views that have the same host loaded. In addition, an updater is also called when the value of the IsRendering is changed (this property should always be set to false when a WebControl in a tab is no longer visible, and back to true when the tab is visible/active.