microsoft / microsoft/terminal
Graphic artifacts (small gray squares) on the desktop when the window is minimized
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.16.10262.0
### Windows build number
10.0.22621.1555
### Other Software
_No response_
### Steps to reproduce
I'm not sure exactly when it happens. I use WT without issues, and after a while I notice the glitch; not sure what makes it appear. Once it starts appearing, it stays.
### Expected Behavior
There should be no graphic artifacts on the desktop when I minimize or restore the window.
### Actual Behavior
Whenever I minimize the window, small gray squares appear just above the taskbar:

The gray squares are only visible on the desktop. If any window masks that part of the desktop, they don't appear (in other words, they appear below all windows, with the lowest z-index).
Their number seems to match the number of open tabs in WT, although it's a bit inconsistent.
When I restore the window, I see just one small gray square in the top left corner of the screen:

It also appears below all windows except the WT window (i.e. when the WT window is maximized I still see the square in its top-left corner, but any other window masks it).
Contributor guide
Research direction
No source file, test, or entry point is identified. Begin by reproducing the artifact on Windows Terminal 1.16.10262.0 with Windows 10.0.22621.1555, then compare minimizing and restoring with different tab counts and window layering. Done means the gray squares no longer appear on the desktop or in the restored window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100