|
Rank: Advanced Member Groups: Member
Joined: 11/3/2015 Posts: 65
|
Hello,
I've got a problem with the ZoomFactor Function. I use multiple WebViews in a Tabbrowser like program and I want to have a different zoomfaktor in every Webview. But if I set the Zoomfaktor to one Webview, it is set to all other Webviews, too.
I hope, you can help me with that problem.
Kind regards
Marius Kramer
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please check if you are running the latest build. We tested this on the latest build and it seems to work fine. Each WebView can have their own ZoomFactor value independently.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/3/2015 Posts: 65
|
Hi,
thank you for your response.
Now I tried the last version EO.Total.2015.3.71.0 and it does not work.
Even in your test Tabbed browser all ZoomFactors are changed concurrent.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Can you let us know the steps to reproduce the problem with our TabbedBrowser sample?
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/3/2015 Posts: 65
|
Of course.
1. Open the Tabbed Browser 2. Open Two Tabs with 2 urls on both the ZoomFaktor is 100% 3. Select one Tab, press Ctrl and scrol up with the mouse weel. So the Zoomfaktor is 300% or so 4. If you select the second Tab the Zoomfaktor is 300, too.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We have looked into this and this behavior is by design. The zoom level is set on each WebView but it is also associated to a specific host. The idea is the browser engine tries to keep the same zoom level for the same "site". For example, if you use Google Chrome to go to two different web pages from www.google.com, then changing zoom level for one page will also affect the zoom level for the other page because regardless which one you change, you are really changing the zoom level for "www.google.com". On the other hand, if you use two tabs to load two pages from different domains, then their zoom level will be independently. Our WebView demonstrates the same behavior because our product is built from Chromium source code. Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/3/2015 Posts: 65
|
hey,
thank you for your quick response.
The problem I have is, that I start an emulation of different programs in the different tabs. The url is the same, but the size of the programs is not.
to synchronize the zoom is a feature. Are you able to make it independently adjustable? Something like: ZoomLevelByDomain True/False
Kind regards
Marius Kramer
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We won't be able to add this level of customization since we basically take the engine as is and it will quickly become unmanageable for us if we were to add this kind of customization left and right. However if you use a different engine for each tab, then you should be able to set zoom level for each WebView independently. It is a little bit over kill performance wise but it will provide the level of isolation you needed. See here for more information about using engines: http://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspxThanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/3/2015 Posts: 65
|
Hello,
thank you very much ... I think that works for me.
best regards
Marius Kramer
|
|