Page 1 of 1

[FIXED] Bug with small rectangles

Posted: Tue May 07, 2019 2:36 am
by luis.rodas
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

Re: Bug with small rectangles

Posted: Tue May 07, 2019 7:12 am
by JS-Support @Userware
Hi,

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

It will be fixed asap.

JS-Support

Re: Bug with small rectangles

Posted: Fri May 17, 2019 2:51 am
by JS-Support @Userware
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

Re: [FIXED] Bug with small rectangles

Posted: Fri May 17, 2019 4:35 am
by luis.rodas
Can you fix in v1.2.x asap ?

Best regards,
Luis F.
Tatsoft Team

Re: [FIXED] Bug with small rectangles

Posted: Fri May 17, 2019 10:18 am
by JS-Support @Userware
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