The proposed version resolves this bug. The semi-maximized window is not maximized but restored to the previous state.
In my opinion the window should be restored to its original height and width but the width of the window is not restored. The window remains half-screen wide but this fix is already an improvement.
The proposed version resolves this bug. The semi-maximized window is not maximized but restored to the previous state.
In my opinion the window should be restored to its original height and width but the width of the window is not restored. The window remains half-screen wide but this fix is already an improvement.