We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug If window state was changed from Minimize to Normal (or any other) from the code, renderer won't be restarted.
To Reproduce Steps to reproduce the behavior:
Archive.zip
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Workaround:
static MainWindow() { Window.WindowStateProperty.Changed.Subscribe(WindowStatePropertyChanged); } public static void WindowStatePropertyChanged(AvaloniaPropertyChangedEventArgs<WindowState> args) { if (args.OldValue.GetValueOrDefault<WindowState>() == WindowState.Minimized) { ((Window)args.Sender).Renderer.Start(); } }
Sorry, something went wrong.
Call WindowStateChanged when setting WindowState via code.
346015d
Fixes #6399
4ca96f1
Successfully merging a pull request may close this issue.
Describe the bug
If window state was changed from Minimize to Normal (or any other) from the code, renderer won't be restarted.
To Reproduce
Steps to reproduce the behavior:
Archive.zip
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: