leanflutter / window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.
https://pub.dev/packages/window_manager
MIT License
707 stars 196 forks source link

[Bug] [Windows] [0.4.2] Window contents sized wrongly after restore from minimized #489

Open MindStudioOfficial opened 1 month ago

MindStudioOfficial commented 1 month ago

When minimizing the window and restoring it after it was maximized the contents of the window are scaled wrongly.

This only happens when the window was previously maximized when minimizing. Restoring to an unmaximized window works as expected. Also this issue appears on all monitors regardless of resolution scaling or position. This issue first appears in release 0.4.2.

WinXaito commented 1 month ago

I can confirm that.

After some tests here is the result:

So it looks like https://github.com/leanflutter/window_manager/pull/482 fix a part of the problem but not completly. So I have to stay in 0.3.9 for the moment.

fufesou commented 2 weeks ago

I've reproduced. I'll fix it.

LambGe commented 1 week ago

image window_manager: 0.4.2

I have also encountered this issue.