MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

Flipper control abnormal display on some graphics cards

Open check1412 opened this issue 3 years ago • 2 comments

Bug explanation

 <materialDesign:Flipper Margin="5 2 5 2" Background="Black">
        <materialDesign:Flipper.FrontContent>
            <TextBlock Text="111111111111111" Foreground="Green"></TextBlock>
        </materialDesign:Flipper.FrontContent>
        <materialDesign:Flipper.BackContent>
            <TextBlock Text="222222222222"></TextBlock>
        </materialDesign:Flipper.BackContent>
    </materialDesign:Flipper>
</Grid>

Normal: 1

Abnormal: 2

Display abnormal graphics cards

Intel(R) UHD Graphics 730 Intel(R) Iris(R) Xe Graphics

If I disable the graphics card, it can display normally.

Environment

vs 2017 .net 4.5.2 MaterialDesignThemes 4.5.0(from nuget) MaterialDesignThemes.MahApps 0.2.2(from nuget) MaterialDesignColors 2.0.6(from nuget)

check1412 avatar Aug 23 '22 02:08 check1412

Hello Did you tried it with .NET Core 3.0 or .NET 6? I believe that issue is related to rendering.

Erapchu avatar Nov 29 '22 04:11 Erapchu

Use RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly; when show flipper control. I think it is an issue with some intel graphics cards.

Roberto2707 avatar Dec 19 '22 16:12 Roberto2707