View Issue Details

IDProjectCategoryView StatusLast Update
0002398NoesisGUIC++ SDKpublic2022-11-08 00:58
ReporterBAJayM Assigned Tojsantos  
Status resolvedResolutionfixed 
Product Version3.1.5 
Target Version3.1.6Fixed in Version3.1.6 
Summary0002398: Hitting assert in Rect constructor when using LinearRectKeyFrame
DescriptionThere is a case where the LinearRectKeyFrame can case the rect constructor to assert while it is animating.

I believe it is using the rect class to do some maths to work out the new location of the rect. This rect that you are using, can have a negative size but it should be valid.
Steps To ReproduceSay we have a rectangle geometry like this:
<RectangleGeometry x:Name="outlineColourAwaySideGeo" Rect="0, 0, 533, 400"/>

Then we have a storyboard that moves it like this:

<RectAnimationUsingKeyFrames Storyboard.TargetName="outlineColourAwaySideGeo"
      <LinearRectKeyFrame Value="0,0,533,0" KeyTime="0:0:0.4" />
      <DiscreteRectKeyFrame Value="0,0,533,400" KeyTime="0:0:0.6" />

The rect you are doing the maths with has a negative size so therefore hits this assert.
Tagsassert, LinearRectKeyFrame


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-08-16 07:26 BAJayM New Issue
2022-08-16 07:26 BAJayM Tag Attached: assert
2022-08-16 07:26 BAJayM Tag Attached: LinearRectKeyFrame
2022-08-16 11:23 sfernandez Assigned To => sfernandez
2022-08-16 11:23 sfernandez Status new => assigned
2022-08-16 11:23 sfernandez Assigned To sfernandez => jsantos
2022-08-16 11:23 sfernandez Target Version => 3.1.6
2022-11-07 17:13 sfernandez Target Version 3.1.6 => 3.1.7
2022-11-07 17:16 sfernandez Target Version 3.1.7 => 3.1.6
2022-11-08 00:58 jsantos Status assigned => resolved
2022-11-08 00:58 jsantos Resolution open => fixed
2022-11-08 00:58 jsantos Fixed in Version => 3.1.6