Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Window animation lost when set SystemDecorations and other properties

Open laolarou726 opened this issue 7 months ago • 0 comments

Describe the bug

Window animations (including min/max animation, first open transition etc.) will lost when applying following properties:

<Window xmlns="https://github.com/avaloniaui"
        SystemDecorations="BorderOnly"
        TransparencyLevelHint="{Binding Source={x:Static avalonia:App.InterfaceSettingsManager}, Path=WindowTransparencyLevels}"
        WindowStartupLocation="CenterScreen"
        ExtendClientAreaChromeHints="NoChrome"
        ExtendClientAreaToDecorationsHint="True">

To Reproduce

<Window xmlns="https://github.com/avaloniaui"
        SystemDecorations="BorderOnly"
        TransparencyLevelHint="{Binding Source={x:Static avalonia:App.InterfaceSettingsManager}, Path=WindowTransparencyLevels}"
        WindowStartupLocation="CenterScreen"
        ExtendClientAreaChromeHints="NoChrome"
        ExtendClientAreaToDecorationsHint="True">

Expected behavior

No response

Avalonia version

11.2.999-cibuild0049474-alpha

OS

Windows

Additional context

No response

laolarou726 avatar Jun 26 '24 13:06 laolarou726