HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

There's no closing animation in Window

Open NotroDev opened this issue 3 years ago • 2 comments

Describe the bug

Hi. I have this, example window:

<hc:Window x:Class="SkEditorPlus.OptionsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:hc="https://handyorg.github.io/handycontrol"
        xmlns:local="clr-namespace:SkEditorPlus"
        mc:Ignorable="d"
        Title="Ustawienia" Height="450" Width="800" ResizeMode="NoResize" Loaded="OnWindowLoad" WindowStartupLocation="CenterScreen">
    <Grid>

    </Grid>
</hc:Window>

And, it closes immediately, without animation. (Open animation works fine)

Steps to reproduce the bug

  1. Create new window
  2. Try opening and closing it

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControls (Custom version) 3.3.11

IDE

Visual Studio 2022

Framework type

.Net 5.0

Windows version

Windows 11 (22000)

Additional context

No response

NotroDev avatar Jul 18 '22 08:07 NotroDev

Oh, sorry. It's only in the Debug.

NotroDev avatar Jul 22 '22 08:07 NotroDev

Oh, it's not. When main window is maximized, the dialog window has no closing animation. When main window is minimized, the dialog windows has closing animation.

NotroDev avatar Jul 22 '22 09:07 NotroDev

Hey, what about this? As I test now, when main window is minimized, others windows (dialogs) have closing animation. When it's maximized, they don't.

NotroDev avatar Oct 08 '22 18:10 NotroDev