Closed rhinterndorfer closed 4 years ago
@rhinterndorfer Is it possible for you to test the latest alpha version 2.0.0-alpha0170 (on Nuget)?
Same problem with 2.0.0-alpha0170.
We currently use a workaround that detects the screen resolution change and sets window state to normal and immediately to maximized afterwards if the app is maximized in code behind file "MainWindow.xaml.cs".
public MainWindow()
{
InitializeComponent();
SystemEvents.DisplaySettingsChanged += SystemEvents_DisplaySettingsChanged;
}
private void SystemEvents_DisplaySettingsChanged(object sender, EventArgs e)
{
if (this.WindowState == WindowState.Maximized)
{
this.WindowState = WindowState.Normal;
this.WindowState = WindowState.Maximized;
}
}
I asume the resolution size is very specific? beccause im unable to recreate it with my 2560 x 1440 monitor on the latest developer's version, even when throwing the zoom on 225% en changes resolution to 800x600.
I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template.
If you have enough time then it would be nice to test this issue against the latest alpha version (availabe via NuGet and appveyor).
Thank you! 🙏
WPF application using MahApp MetroWindow crashes with unhandled exception when reducing screen resolution and the window width and height properties are defined.
Problem occurs on remote desktop environments when connecting with different clients (screen resolutions) to terminal servers.
Steps to reproduce the behavior:
Following simple xaml has been used to reproduce the behavior:
Detailed windbg exception information:
Screenshots
Environment: