Force disable tab transparency (a tab suddenly became transparent) #20328

Closed
opened 2026-01-31 07:10:28 +00:00 by claunia · 7 comments
Owner

Originally created by @vadimkantorov on GitHub (Aug 2, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

Version 10.0.22621.1992

Other Software

My WSLv1 tab window suddenly turned transparent (it has never been transparent before).
image

All new tabs (cmd or WSLv1) are not transparent.

In my appearance settings, there is no slider or checkbox to control/enable transparency.
image
image

I don't want any transparency for my tabs. Why could that happen? Somehow for an existing tab, Win11/Terminal decided to turn on acrylic/transparency.

My Windows transparency settings are off:
image

Here is my profile
{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": "unbound",
            "keys": "ctrl+v"
        },
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "keys": "ctrl+c"
        },
        {
            "command": "paste"
        },
        {
            "command": "find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "auto",
                "splitMode": "duplicate"
            },
            "keys": "alt+shift+d"
        }
    ],
    "copyFormatting": "none",
    "copyOnSelect": true,
    "defaultProfile": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}",
    "launchMode": "default",
    "profiles": 
    {
        "defaults": {},
        "list": 
        [
            {
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell"
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            },
            {
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "bellStyle": "none",
                "guid": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}",
                "hidden": false,
                "name": "UbuntuWSL1",
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": "/mnt/c/Users/vadim"
            }
        ]
    },
    "schemes": 
    [
        {
            "background": "#0C0C0C",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
        {
            "background": "#012456",
            "black": "#0C0C0C",
            "blue": "#0037DA",
            "brightBlack": "#767676",
            "brightBlue": "#3B78FF",
            "brightCyan": "#61D6D6",
            "brightGreen": "#16C60C",
            "brightPurple": "#B4009E",
            "brightRed": "#E74856",
            "brightWhite": "#F2F2F2",
            "brightYellow": "#F9F1A5",
            "cursorColor": "#FFFFFF",
            "cyan": "#3A96DD",
            "foreground": "#CCCCCC",
            "green": "#13A10E",
            "name": "Campbell Powershell",
            "purple": "#881798",
            "red": "#C50F1F",
            "selectionBackground": "#FFFFFF",
            "white": "#CCCCCC",
            "yellow": "#C19C00"
        },
        {
            "background": "#282C34",
            "black": "#282C34",
            "blue": "#61AFEF",
            "brightBlack": "#5A6374",
            "brightBlue": "#61AFEF",
            "brightCyan": "#56B6C2",
            "brightGreen": "#98C379",
            "brightPurple": "#C678DD",
            "brightRed": "#E06C75",
            "brightWhite": "#DCDFE4",
            "brightYellow": "#E5C07B",
            "cursorColor": "#FFFFFF",
            "cyan": "#56B6C2",
            "foreground": "#DCDFE4",
            "green": "#98C379",
            "name": "One Half Dark",
            "purple": "#C678DD",
            "red": "#E06C75",
            "selectionBackground": "#FFFFFF",
            "white": "#DCDFE4",
            "yellow": "#E5C07B"
        },
        {
            "background": "#FAFAFA",
            "black": "#383A42",
            "blue": "#0184BC",
            "brightBlack": "#4F525D",
            "brightBlue": "#61AFEF",
            "brightCyan": "#56B5C1",
            "brightGreen": "#98C379",
            "brightPurple": "#C577DD",
            "brightRed": "#DF6C75",
            "brightWhite": "#FFFFFF",
            "brightYellow": "#E4C07A",
            "cursorColor": "#4F525D",
            "cyan": "#0997B3",
            "foreground": "#383A42",
            "green": "#50A14F",
            "name": "One Half Light",
            "purple": "#A626A4",
            "red": "#E45649",
            "selectionBackground": "#FFFFFF",
            "white": "#FAFAFA",
            "yellow": "#C18301"
        },
        {
            "background": "#002B36",
            "black": "#002B36",
            "blue": "#268BD2",
            "brightBlack": "#073642",
            "brightBlue": "#839496",
            "brightCyan": "#93A1A1",
            "brightGreen": "#586E75",
            "brightPurple": "#6C71C4",
            "brightRed": "#CB4B16",
            "brightWhite": "#FDF6E3",
            "brightYellow": "#657B83",
            "cursorColor": "#FFFFFF",
            "cyan": "#2AA198",
            "foreground": "#839496",
            "green": "#859900",
            "name": "Solarized Dark",
            "purple": "#D33682",
            "red": "#DC322F",
            "selectionBackground": "#FFFFFF",
            "white": "#EEE8D5",
            "yellow": "#B58900"
        },
        {
            "background": "#FDF6E3",
            "black": "#002B36",
            "blue": "#268BD2",
            "brightBlack": "#073642",
            "brightBlue": "#839496",
            "brightCyan": "#93A1A1",
            "brightGreen": "#586E75",
            "brightPurple": "#6C71C4",
            "brightRed": "#CB4B16",
            "brightWhite": "#FDF6E3",
            "brightYellow": "#657B83",
            "cursorColor": "#002B36",
            "cyan": "#2AA198",
            "foreground": "#657B83",
            "green": "#859900",
            "name": "Solarized Light",
            "purple": "#D33682",
            "red": "#DC322F",
            "selectionBackground": "#FFFFFF",
            "white": "#EEE8D5",
            "yellow": "#B58900"
        },
        {
            "background": "#000000",
            "black": "#000000",
            "blue": "#3465A4",
            "brightBlack": "#555753",
            "brightBlue": "#729FCF",
            "brightCyan": "#34E2E2",
            "brightGreen": "#8AE234",
            "brightPurple": "#AD7FA8",
            "brightRed": "#EF2929",
            "brightWhite": "#EEEEEC",
            "brightYellow": "#FCE94F",
            "cursorColor": "#FFFFFF",
            "cyan": "#06989A",
            "foreground": "#D3D7CF",
            "green": "#4E9A06",
            "name": "Tango Dark",
            "purple": "#75507B",
            "red": "#CC0000",
            "selectionBackground": "#FFFFFF",
            "white": "#D3D7CF",
            "yellow": "#C4A000"
        },
        {
            "background": "#FFFFFF",
            "black": "#000000",
            "blue": "#3465A4",
            "brightBlack": "#555753",
            "brightBlue": "#729FCF",
            "brightCyan": "#34E2E2",
            "brightGreen": "#8AE234",
            "brightPurple": "#AD7FA8",
            "brightRed": "#EF2929",
            "brightWhite": "#EEEEEC",
            "brightYellow": "#FCE94F",
            "cursorColor": "#000000",
            "cyan": "#06989A",
            "foreground": "#555753",
            "green": "#4E9A06",
            "name": "Tango Light",
            "purple": "#75507B",
            "red": "#CC0000",
            "selectionBackground": "#FFFFFF",
            "white": "#D3D7CF",
            "yellow": "#C4A000"
        },
        {
            "background": "#000000",
            "black": "#000000",
            "blue": "#000080",
            "brightBlack": "#808080",
            "brightBlue": "#0000FF",
            "brightCyan": "#00FFFF",
            "brightGreen": "#00FF00",
            "brightPurple": "#FF00FF",
            "brightRed": "#FF0000",
            "brightWhite": "#FFFFFF",
            "brightYellow": "#FFFF00",
            "cursorColor": "#FFFFFF",
            "cyan": "#008080",
            "foreground": "#C0C0C0",
            "green": "#008000",
            "name": "Vintage",
            "purple": "#800080",
            "red": "#800000",
            "selectionBackground": "#FFFFFF",
            "white": "#C0C0C0",
            "yellow": "#808000"
        }
    ],
    "startOnUserLogin": true
}
Originally created by @vadimkantorov on GitHub (Aug 2, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number Version 10.0.22621.1992 ### Other Software My WSLv1 tab window suddenly turned transparent (it has never been transparent before). <img width="960" alt="image" src="https://github.com/microsoft/terminal/assets/1041752/315cfc48-abc6-4d3c-b183-feab2482692e"> All new tabs (cmd or WSLv1) are not transparent. In my appearance settings, there is no slider or checkbox to control/enable transparency. <img width="960" alt="image" src="https://github.com/microsoft/terminal/assets/1041752/a9c65b82-d64b-4ae8-ac13-1f5c327ce75d"> <img width="960" alt="image" src="https://github.com/microsoft/terminal/assets/1041752/6da12847-cddc-4836-8770-9fc4c41d0e1e"> I don't want any transparency for my tabs. Why could that happen? Somehow for an existing tab, Win11/Terminal decided to turn on acrylic/transparency. My Windows transparency settings are off: <img width="705" alt="image" src="https://github.com/microsoft/terminal/assets/1041752/57690f1a-75eb-4893-bf68-95e2a314d40b"> <details> <summary>Here is my profile</summary> ```json { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": "unbound", "keys": "ctrl+v" }, { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste" }, { "command": "find", "keys": "ctrl+shift+f" }, { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" } ], "copyFormatting": "none", "copyOnSelect": true, "defaultProfile": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}", "launchMode": "default", "profiles": { "defaults": {}, "list": [ { "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "name": "Windows PowerShell" }, { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Command Prompt" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl" }, { "bellStyle": "none", "guid": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}", "hidden": false, "name": "UbuntuWSL1", "source": "Windows.Terminal.Wsl", "startingDirectory": "/mnt/c/Users/vadim" } ] }, "schemes": [ { "background": "#0C0C0C", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#012456", "black": "#0C0C0C", "blue": "#0037DA", "brightBlack": "#767676", "brightBlue": "#3B78FF", "brightCyan": "#61D6D6", "brightGreen": "#16C60C", "brightPurple": "#B4009E", "brightRed": "#E74856", "brightWhite": "#F2F2F2", "brightYellow": "#F9F1A5", "cursorColor": "#FFFFFF", "cyan": "#3A96DD", "foreground": "#CCCCCC", "green": "#13A10E", "name": "Campbell Powershell", "purple": "#881798", "red": "#C50F1F", "selectionBackground": "#FFFFFF", "white": "#CCCCCC", "yellow": "#C19C00" }, { "background": "#282C34", "black": "#282C34", "blue": "#61AFEF", "brightBlack": "#5A6374", "brightBlue": "#61AFEF", "brightCyan": "#56B6C2", "brightGreen": "#98C379", "brightPurple": "#C678DD", "brightRed": "#E06C75", "brightWhite": "#DCDFE4", "brightYellow": "#E5C07B", "cursorColor": "#FFFFFF", "cyan": "#56B6C2", "foreground": "#DCDFE4", "green": "#98C379", "name": "One Half Dark", "purple": "#C678DD", "red": "#E06C75", "selectionBackground": "#FFFFFF", "white": "#DCDFE4", "yellow": "#E5C07B" }, { "background": "#FAFAFA", "black": "#383A42", "blue": "#0184BC", "brightBlack": "#4F525D", "brightBlue": "#61AFEF", "brightCyan": "#56B5C1", "brightGreen": "#98C379", "brightPurple": "#C577DD", "brightRed": "#DF6C75", "brightWhite": "#FFFFFF", "brightYellow": "#E4C07A", "cursorColor": "#4F525D", "cyan": "#0997B3", "foreground": "#383A42", "green": "#50A14F", "name": "One Half Light", "purple": "#A626A4", "red": "#E45649", "selectionBackground": "#FFFFFF", "white": "#FAFAFA", "yellow": "#C18301" }, { "background": "#002B36", "black": "#002B36", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#FFFFFF", "cyan": "#2AA198", "foreground": "#839496", "green": "#859900", "name": "Solarized Dark", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#FDF6E3", "black": "#002B36", "blue": "#268BD2", "brightBlack": "#073642", "brightBlue": "#839496", "brightCyan": "#93A1A1", "brightGreen": "#586E75", "brightPurple": "#6C71C4", "brightRed": "#CB4B16", "brightWhite": "#FDF6E3", "brightYellow": "#657B83", "cursorColor": "#002B36", "cyan": "#2AA198", "foreground": "#657B83", "green": "#859900", "name": "Solarized Light", "purple": "#D33682", "red": "#DC322F", "selectionBackground": "#FFFFFF", "white": "#EEE8D5", "yellow": "#B58900" }, { "background": "#000000", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#FFFFFF", "cyan": "#06989A", "foreground": "#D3D7CF", "green": "#4E9A06", "name": "Tango Dark", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#FFFFFF", "black": "#000000", "blue": "#3465A4", "brightBlack": "#555753", "brightBlue": "#729FCF", "brightCyan": "#34E2E2", "brightGreen": "#8AE234", "brightPurple": "#AD7FA8", "brightRed": "#EF2929", "brightWhite": "#EEEEEC", "brightYellow": "#FCE94F", "cursorColor": "#000000", "cyan": "#06989A", "foreground": "#555753", "green": "#4E9A06", "name": "Tango Light", "purple": "#75507B", "red": "#CC0000", "selectionBackground": "#FFFFFF", "white": "#D3D7CF", "yellow": "#C4A000" }, { "background": "#000000", "black": "#000000", "blue": "#000080", "brightBlack": "#808080", "brightBlue": "#0000FF", "brightCyan": "#00FFFF", "brightGreen": "#00FF00", "brightPurple": "#FF00FF", "brightRed": "#FF0000", "brightWhite": "#FFFFFF", "brightYellow": "#FFFF00", "cursorColor": "#FFFFFF", "cyan": "#008080", "foreground": "#C0C0C0", "green": "#008000", "name": "Vintage", "purple": "#800080", "red": "#800000", "selectionBackground": "#FFFFFF", "white": "#C0C0C0", "yellow": "#808000" } ], "startOnUserLogin": true } ``` </details>
claunia added the Issue-QuestionNeeds-TriageResolution-Answered labels 2026-01-31 07:10:28 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 2, 2023):

FWIW, transparency settings are per-profile.

image

Presumably, since it's your "wsl1" profile, it's this blob:

            {
                "bellStyle": "none",
                "guid": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}",
                "hidden": false,
                "name": "UbuntuWSL1",
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": "/mnt/c/Users/vadim"
            }

That'd be the one we generate. We sure haven't made any changes to that, certainly not opacity related.

Theories: a change to a profile fragment that updates this one somewhere? There are... a few different places to look for those. I'd need to go check my notes.

@zadjii-msft commented on GitHub (Aug 2, 2023): FWIW, transparency settings are per-profile. ![image](https://github.com/microsoft/terminal/assets/18356694/eaaf968e-96e9-44a1-9e9f-251c6f9d13bd) Presumably, since it's your "wsl1" profile, it's this blob: ```json { "bellStyle": "none", "guid": "{96d6886a-2e75-5624-90fa-09d5477f6cdf}", "hidden": false, "name": "UbuntuWSL1", "source": "Windows.Terminal.Wsl", "startingDirectory": "/mnt/c/Users/vadim" } ``` That'd be the one we generate. We sure haven't made any changes to that, certainly not opacity related. Theories: a change to a profile fragment that updates this one somewhere? There are... a few different places to look for those. I'd need to go check my notes.
Author
Owner

@zadjii-msft commented on GitHub (Aug 2, 2023):

suddenly turned transparent

All new tabs (cmd or WSLv1) are not transparent

Did you by any chance do a Ctrl+Shift+ScrollWheel? That'll change the opacity of the pane at runtime.

@zadjii-msft commented on GitHub (Aug 2, 2023): > suddenly turned transparent > All new tabs (cmd or WSLv1) are not transparent Did you by any chance do a Ctrl+Shift+ScrollWheel? That'll change the opacity of the pane at runtime.
Author
Owner

@vadimkantorov commented on GitHub (Aug 2, 2023):

I checked the profile settings window, indeed no transparency:
image

@vadimkantorov commented on GitHub (Aug 2, 2023): I checked the profile settings window, indeed no transparency: <img width="702" alt="image" src="https://github.com/microsoft/terminal/assets/1041752/28c25508-0234-4e76-ba75-2c40f172eda1">
Author
Owner

@vadimkantorov commented on GitHub (Aug 2, 2023):

I think, somehow something (maybe WinUI?) turned on transparency on this given handle / tab...

@vadimkantorov commented on GitHub (Aug 2, 2023): I think, somehow something (maybe WinUI?) turned on transparency on this given handle / tab...
Author
Owner

@vadimkantorov commented on GitHub (Aug 2, 2023):

`Ctrl+Shift+ScrollWheel``- what would be scroll wheel on laptop?

it's more pinch_up_down :) yes, it worked - interesting. I certainly did not do it by accident...

@vadimkantorov commented on GitHub (Aug 2, 2023): `Ctrl+Shift+ScrollWheel``- what would be scroll wheel on laptop? it's more pinch_up_down :) yes, it worked - interesting. I certainly did not do it by accident...
Author
Owner

@zadjii-msft commented on GitHub (Aug 2, 2023):

yes, it worked - interesting. I certainly did not do it by accident

Glad that worked! I've definitely seen trackpads just mis-register scrolls in the past when it was just a palm. Who knows, maybe that happened at just the same time as pressing those modifiers.

@zadjii-msft commented on GitHub (Aug 2, 2023): > yes, it worked - interesting. I certainly did not do it by accident Glad that worked! I've definitely seen trackpads just mis-register scrolls in the past when it was just a palm. Who knows, maybe that happened at just the same time as pressing those modifiers.
Author
Owner

@vadimkantorov commented on GitHub (Aug 2, 2023):

Quite sure I did not do it by accident... Because I haven't done today any Ctrl+Shift at all.

@vadimkantorov commented on GitHub (Aug 2, 2023): Quite sure I did not do it by accident... Because I haven't done today any Ctrl+Shift at all.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20328