View Issue Details

IDProjectCategoryView StatusLast Update
0000711NoesisGUIC++ SDKpublic2024-05-23 19:36
ReporterZanAlex Assigned Tosfernandez  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Target Version3.2.4Fixed in Version3.2.4 
Summary0000711: VisualBrush crash
Description

Apparently, setting VisualBrush.Visual to another element of the UI tree leads to a crash in both the Player and my application.

Steps To Reproduce

<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="Gray" Orientation="Vertical" VerticalAlignment="Center">

<Slider x:Name="PART_Slider" Orientation="Horizontal" Height="22" Maximum="100" Value="4" Width="300"/>

    <ProgressBar Height="29.532"  Value="{Binding Value, ElementName=PART_Slider}" Width="300">

        <ProgressBar.Style>
            <Style TargetType="{x:Type ProgressBar}">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate>

                            <Grid>
                                <Rectangle x:Name="PART_Indicator" Fill="Pink" HorizontalAlignment="Left"/>
                                <Border x:Name="PART_Track" Background="Black"/>
                                <Grid>
                                    <Grid.OpacityMask>
                                        <VisualBrush Visual="{Binding ElementName=PART_Indicator}"/>
                                    </Grid.OpacityMask>
                                    <Rectangle Fill="White"/>
                                </Grid>
                            </Grid>

                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </ProgressBar.Style>

    </ProgressBar>

</StackPanel>

PlatformAny

Relationships

has duplicate 0001316 resolvedsfernandez OpacityMask doesn't support VisualBrush even when binding an existing element to Visual 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-08-26 18:00 ZanAlex New Issue
2015-09-07 20:14 sfernandez Assigned To => sfernandez
2015-09-07 20:14 sfernandez Status new => assigned
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 09:45 sfernandez Relationship added has duplicate 0001316
2018-11-22 09:46 sfernandez View Status private => public
2018-11-22 09:46 sfernandez Platform => Any
2024-05-23 19:36 sfernandez Status assigned => resolved
2024-05-23 19:36 sfernandez Resolution open => fixed
2024-05-23 19:36 sfernandez Fixed in Version => 3.2.4
2024-05-23 19:36 sfernandez Target Version => 3.2.4