[FIXED] Bug with small rectangles

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
luis.rodas
Posts: 11
Joined: Tue Jun 07, 2016 1:33 pm

[FIXED] Bug with small rectangles

Postby luis.rodas » Tue May 07, 2019 2:36 am

Hi,

I found a bug when rectangle is small in v1.2.

See image with error: https://www.tatsoft.com/tmp/Error1.png

The top of red rectangle is wrong and it should be equals to blue rectangle. The error is in simultator and also in web browsers. See XAML code:

<Canvas>
<Rectangle Canvas.Left="20" Canvas.Top="10" Width="130" Height="20" Fill="Green"/>
<Rectangle Canvas.Left="20" Canvas.Top="30" Width="50" Height="8" Fill="Red"/>
<Rectangle Canvas.Left="100" Canvas.Top="30" Width="50" Height="40" Fill="Blue"/>
</Canvas>

We have several small rectangles in our application.

Best Regards,
Luis F.
Tatsoft Team

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Bug with small rectangles

Postby JS-Support @Userware » Tue May 07, 2019 7:12 am

Hi,

Thanks for reporting this issue. We have been able to reproduce it.

It will be fixed asap.

JS-Support

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Bug with small rectangles

Postby JS-Support @Userware » Fri May 17, 2019 2:51 am

Hi,

The issue has just been fixed with the following commit:
https://github.com/cshtml5/CSHTML5/comm ... 7d88963ff1

It will be released in v2.0 Preview 0.5 and newer.

Thanks.
Regards

luis.rodas
Posts: 11
Joined: Tue Jun 07, 2016 1:33 pm

Re: [FIXED] Bug with small rectangles

Postby luis.rodas » Fri May 17, 2019 4:35 am

Can you fix in v1.2.x asap ?

Best regards,
Luis F.
Tatsoft Team

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: [FIXED] Bug with small rectangles

Postby JS-Support @Userware » Fri May 17, 2019 10:18 am

luis.rodas wrote:Can you fix in v1.2.x asap ?


Sure. It's now available also in v1.2.2 at:
http://forums.cshtml5.com/viewforum.php?f=6


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 29 guests