View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002398 | NoesisGUI | C++ SDK | public | 2022-08-16 07:26 | 2022-11-08 00:58 |
Reporter | BAJayM | Assigned To | jsantos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.5 | ||||
Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
Summary | 0002398: Hitting assert in Rect constructor when using LinearRectKeyFrame | ||||
Description | There 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 Reproduce | Say 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" BeginTime="0:0:0" Storyboard.TargetProperty="Rect"> <LinearRectKeyFrame Value="0,0,533,0" KeyTime="0:0:0.4" /> <DiscreteRectKeyFrame Value="0,0,533,400" KeyTime="0:0:0.6" /> </RectAnimationUsingKeyFrames> The rect you are doing the maths with has a negative size so therefore hits this assert. | ||||
Tags | assert, LinearRectKeyFrame | ||||
Platform | Any | ||||
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 |