Welcome Guest Search | Active Topics | Sign In | Register

web pages cannot be scrolled to the top , the top of the page is not displayed Options
Aharon
Posted: Tuesday, July 29, 2014 6:35:56 AM
Rank: Member
Groups: Member

Joined: 7/29/2014
Posts: 10
We are testing the latest version of EO.WebBrowser control for WPF (trial version) , our screen resolution is 1600 * 900.

We placed the webcontrol in a stack panel with HorizontalAlignment="Stretch" and VerticalAlignment="Stretch" , after we are using the loadUrl function to load a URL for example "www.yahoo.com" the page is displayed, we can scroll down but the top section of the web page can not be scrolled to. When we resize the window the control is stretched until some point and does not grow further.

Any suggestions?
eo_support
Posted: Tuesday, July 29, 2014 9:32:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,070
Thanks for posting in the forum. Can you post a test XAML so that we can take a look here?
Aharon
Posted: Monday, August 4, 2014 2:29:57 PM
Rank: Member
Groups: Member

Joined: 7/29/2014
Posts: 10
eo_support wrote:
Thanks for posting in the forum. Can you post a test XAML so that we can take a look here?


Checked the webcontrol with http://www.yahoo.com, my screen resolution is 1920*1080.

Here is the xaml

<Window x:Class="WpfApplicationBrowserTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" xmlns:eo="http://schemas.essentialobjects.com/wpf/" Loaded="Window_Loaded" WindowState="Maximized" >
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<eo:WebControl HorizontalAlignment="Stretch" Name="webControl1" VerticalAlignment="Stretch" >
</eo:WebControl>

</Grid>
</Window>

and the c#

private void Window_Loaded(object sender, RoutedEventArgs e)
{
//this.Visibility = System.Windows.Visibility.Hidden;
webControl1.WebView.LoadUrl("http://www.yahoo.com");
webControl1.WebView.LoadComplete += new EO.WebBrowser.NavigationTaskEventHandler(WebView_LoadComplete);
webControl1.WebView.DownloadCompleted += new EO.WebBrowser.DownloadEventHandler(WebView_DownloadCompleted);

}
eo_support
Posted: Thursday, August 7, 2014 1:04:52 PM
Rank: Administration
Groups: Administration

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

We tested it with the latest build and it seems to work fine. Can you try the latest build and see if it works for you? If it still does not work for you, please try to create a test project and send the test project to us. We will be very happy to take a look as soon as we receive that. You can find more information on how to submit test project here:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Aharon
Posted: Monday, August 11, 2014 4:35:56 PM
Rank: Member
Groups: Member

Joined: 7/29/2014
Posts: 10
Hi

This is how the tabbed browser sample looks at my computer when i load www.yahoo.com (1920 X 1080 Resulotion ) , notice that the header is not present and i cannot scroll into it

maximized :
http://pbrd.co/1r5N8bW

not maximized window
http://pbrd.co/1r5NDCI

Thanks
eo_support
Posted: Monday, August 11, 2014 4:44:05 PM
Rank: Administration
Groups: Administration

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

What is your system's DPI setting?

Thanks!
Aharon
Posted: Monday, August 11, 2014 5:15:07 PM
Rank: Member
Groups: Member

Joined: 7/29/2014
Posts: 10
Hi

Checked it on Control Panel\Appearance and Personalization\Display
It is 125% , moved it to smaller (100%) which did not help.

Thanks
eo_support
Posted: Monday, August 18, 2014 10:02:07 PM
Rank: Administration
Groups: Administration

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

We are able to reproduce the problem when we choose a different DPI settings. We have posted a new build that fixed this issue but only verified it with the DPI setting case. You may want to download the new build from our download page and see if it works for you. However since you have stated that the problem does not go away even if you change the DPI settings, so what we fixed may not be exactly the same problem as you have.

Thanks!
Aharon
Posted: Tuesday, August 19, 2014 6:43:06 AM
Rank: Member
Groups: Member

Joined: 7/29/2014
Posts: 10
Thanks , that solved the problem
eo_support
Posted: Tuesday, August 19, 2014 10:19:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,070
Great. Thanks for confirming the fix!


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.