microsoft / microsoft/terminal

unfocusedAppearance ignores backgroundImage set to null and continued to display image

Open
#12,643 1 comment 0 reactions 0 assignees View on GitHub
Area-Settings Help Wanted Issue-Bug 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.13.10395.0

### Windows build number

10.0.22567.1

### Other Software

_No response_

### Steps to reproduce

It is possible to set in the UI, and via the settings XML, for there to be no background image when a terminal windows is unfocused using the example below:
"unfocusedAppearance":
{
"backgroundImage": null
}

### Expected Behavior

The expected behaviour is that the background image will disappear when set to null or change image to a new image if a value is set

### Actual Behavior

Actual behaviour is that the background image continues to be displayed if set to null, although a new image is displayed if a correct file location is set.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Windows Terminal 1.13.10395.0 with unfocusedAppearance.backgroundImage set to null, then trace the handling of that setting. Done means the image disappears when the value is null, while assigning a valid new image still displays the replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.