Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background image not shown when "antialiasingMode": "cleartype", "useAcrylic": false #8409

Closed
ks2k2d opened this issue Nov 26, 2020 · 6 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ks2k2d
Copy link

ks2k2d commented Nov 26, 2020

Environment

Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.4.3243.0

Any other software?

Steps to reproduce

"antialiasingMode": "cleartype", "useAcrylic": false, "backgroundImage": "...some_file"

Expected behavior

Opaque image is shown as background

Actual behavior

Black background is shown and the image is visible only around the padding.
image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 26, 2020
@pinxau1000
Copy link

pinxau1000 commented Nov 26, 2020

For me everything worked as expected.

example:

{
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "Windows.Terminal.Wsl",
		"commandline": "wsl -d Ubuntu",
		"tabTitle": "Ubuntu",
		"acrylicOpacity":0.75,
		"closeOnExit":true,
		"colorScheme":"Campbell",
		"fontFace":"Consolas",
		"fontSize":12,
		"historySize":9001,
		"backgroundImage": "<PATH>",
		"backgroundImageStretchMode": "none",
		"backgroundImageOpacity": 0.1,
		"icon":"<PATH>",
		"padding":"0, 0, 0, 0",
		"snapOnInput":true,
		"useAcrylic":false
}

ubuntu_windowsTerminal_3

@ks2k2d
Copy link
Author

ks2k2d commented Nov 26, 2020

One difference I see between you and my case is that I have specified the configuration in the "defaults" section.

Moved the config to the WSL section of Ubuntu, but still doesn't work.

@ks2k2d
Copy link
Author

ks2k2d commented Nov 26, 2020

It is not caused only by "useAcrylic": false
instead it is caused by the combination of "useAcrylic": false and "antialiasingMode": "cleartype"
I will update the description.

@ks2k2d ks2k2d changed the title Background image not shown when "useAcrylic": false Background image not shown when "antialiasingMode": "cleartype", "useAcrylic": false Nov 26, 2020
@pinxau1000
Copy link

Indeed. Background image didn't shows when "useAcrylic": false and "antialiasingMode": "cleartype".

@zadjii-msft
Copy link
Member

Thanks for the report and the investigation! It looks to me like this is the same root cause as #5703, so I'll redirect discussion to that thread. Thanks!

/dup #5703

@ghost
Copy link

ghost commented Dec 2, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Dec 2, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Dec 2, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants