Hello Wonger33,
Thanks for your great analysis. The clarity of your post helped me a lot to quickly understand.
In Windows, even if a window is maximized, it keep internally the normal size (i.e. not maximized aka restored).
Apparently, when you de-minimize the window, it thinks its size is the internal one (the restored), and after that, it receives the instruction to maximize. which adds this additional resize event.
I will investigate further and see if there’s a way to make the resize less cumbersome.
Thanks again! I’ll keep you posted if I succeed