Can´t align background image bottom right without stretch #4807

Open
opened 2026-01-30 23:57:01 +00:00 by claunia · 0 comments
Owner

Originally created by @andrejohansson on GitHub (Nov 5, 2019).

Environment

Windows build number:  Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 6/21/2019 (from windows store)
Powershell core: 6.2.3

Steps to reproduce

Configure a background image with the following settings:

            "backgroundImageAlignment" : "bottomRight",
            "backgroundImageStrechMode" : "none"

Complete profile

{ 
            "acrylicOpacity" : 0.9,
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "pwsh.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{a92062e7-2643-43ff-bbfa-91146f91930f}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Windows PowerShell Core",
            "padding" : "5, 5, 5, 5",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true,            
            "backgroundImage" : "ms-appdata:///roaming/rduce-blue-black-small.jpg",
            "backgroundImageOpacity" : 0.4,
            "backgroundImageAlignment" : "bottomRight",
            "backgroundImageStrechMode" : "none"
        },

Expected behavior

I expect the image to not be stretched and positioned to the bottom right.

Actual behavior

Even a small image (400x400) is being stretched and weirdly positioned.

image

Originally created by @andrejohansson on GitHub (Nov 5, 2019). # Environment ```none Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 6/21/2019 (from windows store) Powershell core: 6.2.3 ``` # Steps to reproduce Configure a background image with the following settings: ``` "backgroundImageAlignment" : "bottomRight", "backgroundImageStrechMode" : "none" ``` Complete profile ```json { "acrylicOpacity" : 0.9, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "pwsh.exe", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Consolas", "fontSize" : 10, "guid" : "{a92062e7-2643-43ff-bbfa-91146f91930f}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", "name" : "Windows PowerShell Core", "padding" : "5, 5, 5, 5", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true, "backgroundImage" : "ms-appdata:///roaming/rduce-blue-black-small.jpg", "backgroundImageOpacity" : 0.4, "backgroundImageAlignment" : "bottomRight", "backgroundImageStrechMode" : "none" }, ``` # Expected behavior I expect the image to not be stretched and positioned to the bottom right. # Actual behavior Even a small image (400x400) is being stretched and weirdly positioned. ![image](https://user-images.githubusercontent.com/2828428/68194760-e3f29480-ffb5-11e9-81df-95d384fa0cf8.png)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-30 23:57:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4807