Terminal background color has the wrong color applied when terminal is snapped #7210

Open
opened 2026-01-31 00:57:53 +00:00 by claunia · 0 comments
Owner

Originally created by @soul4soul on GitHub (Mar 30, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.720]
Windows Terminal version (if applicable): 0.10.781.0

Any other software? A preview version of PS7 which displays a "new release is available banner"

Steps to reproduce

  1. Configure PS 7 preview shell as the default profile
  2. Launch WT
  3. Snap terminal left immediately after launch as soon as WT is visible. I suspect it needs to get snapped while the banner is being drawn before the shell is ready for input.
  4. See background color from the PS 7 new release banner is used for the entire terminals background color
  5. As new text is drawn to the window the background color starts to go away and correct itself.

I saw this behavior by off change. After it happened once I was able to repo after a dozen or so launches.

Expected behavior

  1. The background color used by the new release banner should not be drawn over the entire terminal window.

Actual behavior

  1. Banner background is used as the terminal background color

First time it happened:
image

Second time it happened:
image

Originally created by @soul4soul on GitHub (Mar 30, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.720] Windows Terminal version (if applicable): 0.10.781.0 Any other software? A preview version of PS7 which displays a "new release is available banner" ``` # Steps to reproduce 1. Configure PS 7 preview shell as the default profile 1. Launch WT 1. Snap terminal left immediately after launch as soon as WT is visible. I suspect it needs to get snapped while the banner is being drawn before the shell is ready for input. 1. See background color from the PS 7 new release banner is used for the entire terminals background color 1. As new text is drawn to the window the background color starts to go away and correct itself. I saw this behavior by off change. After it happened once I was able to repo after a dozen or so launches. <!-- A description of how to trigger this bug. --> # Expected behavior 1. The background color used by the new release banner should not be drawn over the entire terminal window. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior 1. Banner background is used as the terminal background color <!-- What's actually happening? --> First time it happened: ![image](https://user-images.githubusercontent.com/5142635/77914902-9f1d1200-7264-11ea-99a6-51be4b3c35cf.png) Second time it happened: ![image](https://user-images.githubusercontent.com/5142635/77914925-a6442000-7264-11ea-9bb8-a7523d9a0931.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7210