Welcome Guest Search | Active Topics | Sign In | Register

webview.capture not working properly (v19.0.56) Options
Observer IT
Posted: Wednesday, September 25, 2019 9:57:54 AM
Rank: Newbie
Groups: Member

Joined: 10/4/2016
Posts: 3
hi,

we're using the webview.capture method to create partial screenshots of websites.
we've been working with version 18.3.46 without any issues. in any versions 19.*, alas, the two overloaded methods (see below) appear to be not working correctly anymore.
Code: C#
Image Capture(Rectangle);
Image Capture(Rectangle, Size);

is that a bug and is it going to get fixed?

here is the sample code. run in simple console app to reproduce the issue:
Code: C#
var browserThread = new ThreadRunner();
var webView = browserThread.CreateWebView(1920, 1000);

webView.LoadUrlAndWait("https://www.essentialobjects.com");

using (var partialCapture = webView.Capture(new System.Drawing.Rectangle(0, 500, 1920, 500)))
{
    partialCapture.Save(@"D:\Temp\captureTest.png", ImageFormat.Png);
}


result using 18.3.46: https://drive.google.com/open?id=1epFNmOxS6Lpp9CBiywXc9AX40Z_zsevF
result using 19.0.56: https://drive.google.com/open?id=1pGR0Qnc52Pwhyo6PsRhqw9cn5QKUW1VF

eo_support
Posted: Thursday, September 26, 2019 10:30:47 AM
Rank: Administration
Groups: Administration

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

We have confirmed this to be an issue in our current build. This issue will be fixed in our next build. We will reply here again as soon as the new build is available.

Thanks!
Observer IT
Posted: Thursday, September 26, 2019 11:32:57 AM
Rank: Newbie
Groups: Member

Joined: 10/4/2016
Posts: 3
Thank you for the quick response and for committing to fix the issue with the next build.
eo_support
Posted: Friday, October 11, 2019 1:14:54 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have posted a new build that should address this issue. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!
Observer IT
Posted: Monday, October 14, 2019 4:05:29 AM
Rank: Newbie
Groups: Member

Joined: 10/4/2016
Posts: 3
Hi,

I downloaded the new build and tested it successfully with our application.
Thank you again for addressing and fixing this issue so quickly.
eo_support
Posted: Monday, October 14, 2019 10:39:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
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.