microsoft / microsoft/terminal

Graphic artifacts (small gray squares) on the desktop when the window is minimized

Open
#15,219 34 comments 8 reactions 0 assignees View on GitHub
Area-Windowing Issue-Bug Needs-Repro Priority-2 Product-Terminal
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:

![image](https://user-images.githubusercontent.com/1864281/233515606-58c1fbfa-72b8-47ee-ae81-b9b29d481764.png)

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:

![image](https://user-images.githubusercontent.com/1864281/233515748-438ef995-351d-4725-b375-4c5b97e5e3c0.png)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.