View Issue Details

IDProjectCategoryView StatusLast Update
0002039NoesisGUIC++ SDKpublic2021-06-03 11:30
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version3.0.12 
Target Version3.1 
Summary0002039: Visual descendant bounds not correctly calculated when involves clipping
Description

In WPF elements that have clipping (for any reason) the descendant bounds is calculated ignoring that clipping.
The clipping geometry is only taken into account when calculating parent descendant bounds.

For example, this rectangle will have a descendant bounds of (0;0;400;1000).

<Rectangle x:Name="child" Fill="Blue" Width="400" Height="1000" Clip="M50,0L250,0 250,100 50,100z"/>

But this border will report a descendant bounds of (50;0;200;100):

<Border x:Name="parent" Margin="200,100">
<Rectangle x:Name="child" Fill="Blue" Width="400" Height="1000" Clip="M50,0L250,0 250,100 50,100z"/>
</Border>

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-06-03 11:29 sfernandez New Issue
2021-06-03 11:29 sfernandez Assigned To => sfernandez
2021-06-03 11:29 sfernandez Status new => assigned
2021-06-03 11:29 sfernandez Target Version => 3.1
2021-06-03 11:30 sfernandez Description Updated
2021-06-03 11:30 sfernandez Description Updated