You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suspicious remains of previous window borders flash up when closing the window #3222
Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2762.0
Steps to reproduce
Resize the window to smaller, then back to about its original size or even bigger.
Close the window.
Expected behavior
The window should simply disappear.
Actual behavior
For a fraction of a second, tons of horizontal and vertical lines, which look like the border of the window at its previous sizes, are painted inside the window area.
This suspiciously looks like some leftover widgets that don't get properly cleaned up during a resize, potentially consuming various resources (and maybe causing who knows what other problems).
So! This is actually because we're only painting the border of our window and leaving the rest unpainted. We've seen DWM do some very strange things when we paint the client area, so this is more reactionary than planned. 😄
Activity
DHowett-MSFT commentedon Oct 16, 2019
So! This is actually because we're only painting the border of our window and leaving the rest unpainted. We've seen DWM do some very strange things when we paint the client area, so this is more reactionary than planned. 😄
DHowett-MSFT commentedon Oct 21, 2019
Sticking this one on to #1625. Thanks!
Use standard 1px window borders on NC Island Window (#3394)