I have a dummy WPF app (.NET Framework 4.8) that has only two windows and no code (except for code behind).
Here\'s the main window XAML: