Show/Hide maximized terminal window resizes it briefly #17285

Open
opened 2026-01-31 05:37:49 +00:00 by claunia · 9 comments
Owner

Originally created by @zakius on GitHub (Apr 20, 2022).

Windows Terminal version

1.13.10984.0

Windows build number

10.0.22000.0

Other Software

No response

Steps to reproduce

Maximize the window
use action to show/hide the terminal window

Expected Behavior

window appears maximized

Actual Behavior

window appears big, but not maximized, and then maximizes, additionally causing the whole terminal size to be recalculated and content re-rendered and shifted slightly upwards

Originally created by @zakius on GitHub (Apr 20, 2022). ### Windows Terminal version 1.13.10984.0 ### Windows build number 10.0.22000.0 ### Other Software _No response_ ### Steps to reproduce Maximize the window use action to show/hide the terminal window ### Expected Behavior window appears maximized ### Actual Behavior window appears big, but not maximized, and then maximizes, additionally causing the whole terminal size to be recalculated and content re-rendered and shifted slightly upwards
claunia added the Help WantedIssue-BugPriority-3Product-TerminalArea-Windowing labels 2026-01-31 05:37:49 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 20, 2022):

use action to show/hide the terminal window

Which action exactly/? There's a lot of parameters to globalSummon so I wanna make sure I'm checking out the right thing ☺️

@zadjii-msft commented on GitHub (Apr 20, 2022): > use action to show/hide the terminal window Which action exactly/? There's a lot of parameters to `globalSummon` so I wanna make sure I'm checking out the right thing ☺️
Author
Owner

@zakius commented on GitHub (Apr 20, 2022):

I'm using the action straight from the GUI so everything is set to defaults

@zakius commented on GitHub (Apr 20, 2022): I'm using the action straight from the GUI so everything is set to defaults
Author
Owner

@zadjii-msft commented on GitHub (Apr 20, 2022):

Ah, okay so you're using the quakeMode action, the one that says "Show/Hide Quake window". Hence my confusion, there is a "Show/Hide the Terminal window" action, but that isn't bound by default...................

Wait but that's not right either, the quake window doesn't remember it's size at all. Maximizing that, hiding, then showing won't remotely reappear maximized.

Could you share your settings.json file/?

@zadjii-msft commented on GitHub (Apr 20, 2022): Ah, okay so you're using the `quakeMode` action, the one that says "Show/Hide Quake window". Hence my confusion, there is a "Show/Hide the Terminal window" action, but that isn't bound by default................... Wait but that's not right either, the quake window doesn't remember it's size at all. Maximizing that, hiding, then showing won't remotely reappear maximized. Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)/?
Author
Owner

@zakius commented on GitHub (Apr 20, 2022):

I'm using the Show/hide the Terminal window action (or globalSummon in the config file), as quake mode as-is doesn't cut it for me, it's not bound by default, but I added it from GUI and haven't changed anything to override any parameters so in config it states

{
            "command": 
            {
                "action": "globalSummon"
            },
            "keys": "ctrl+`"
        },
the complete `settings.json` in case it helps:
{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 6
            },
            "keys": "ctrl+alt+7"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 0
            },
            "keys": "ctrl+shift+1"
        },
        {
            "command": 
            {
                "action": "moveFocus",
                "direction": "left"
            },
            "keys": "ctrl+alt+left"
        },
        {
            "command": 
            {
                "action": "scrollUp"
            },
            "keys": "ctrl+shift+up"
        },
        {
            "command": "closeWindow",
            "keys": "alt+f4"
        },
        {
            "command": 
            {
                "action": "moveFocus",
                "direction": "right"
            },
            "keys": "ctrl+alt+right"
        },
        {
            "command": "openTabColorPicker"
        },
        {
            "command": "toggleFullscreen",
            "keys": "alt+enter"
        },
        {
            "command": "toggleFullscreen",
            "keys": "f11"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 0
            },
            "keys": "ctrl+alt+1"
        },
        {
            "command": "openNewTabDropdown",
            "keys": "ctrl+shift+space"
        },
        {
            "command": "toggleFocusMode"
        },
        {
            "command": "openTabRenamer"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "down"
            },
            "keys": "alt+shift+minus"
        },
        {
            "command": 
            {
                "action": "commandPalette"
            },
            "keys": "ctrl+shift+p"
        },
        {
            "command": "scrollUpPage",
            "keys": "ctrl+shift+pgup"
        },
        {
            "command": 
            {
                "action": "openSettings",
                "target": "defaultsFile"
            },
            "keys": "ctrl+alt+comma"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 6
            },
            "keys": "ctrl+shift+7"
        },
        {
            "command": 
            {
                "action": "adjustFontSize",
                "delta": -1
            },
            "keys": "ctrl+minus"
        },
        {
            "command": "find",
            "keys": "ctrl+shift+f"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 4
            },
            "keys": "ctrl+shift+5"
        },
        {
            "command": "toggleAlwaysOnTop"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 8
            },
            "keys": "ctrl+shift+9"
        },
        {
            "command": "duplicateTab",
            "keys": "ctrl+shift+d"
        },
        {
            "command": 
            {
                "action": "openSettings"
            },
            "keys": "ctrl+comma"
        },
        {
            "command": 
            {
                "action": "resizePane",
                "direction": "up"
            },
            "keys": "alt+shift+up"
        },
        {
            "command": 
            {
                "action": "renameTab"
            }
        },
        {
            "command": 
            {
                "action": "resizePane",
                "direction": "left"
            },
            "keys": "alt+shift+left"
        },
        {
            "command": 
            {
                "action": "moveFocus",
                "direction": "down"
            },
            "keys": "ctrl+alt+down"
        },
        {
            "command": "unbound",
            "keys": "win+`"
        },
        {
            "command": "unbound",
            "keys": "alt+left"
        },
        {
            "command": "unbound",
            "keys": "alt+right"
        },
        {
            "command": "unbound",
            "keys": "alt+up"
        },
        {
            "command": "unbound",
            "keys": "alt+down"
        },
        {
            "command": "unbound",
            "keys": "ctrl+shift+`"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 2
            },
            "keys": "ctrl+alt+3"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 7
            },
            "keys": "ctrl+alt+8"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 2
            },
            "keys": "ctrl+shift+3"
        },
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "keys": "ctrl+shift+c"
        },
        {
            "command": 
            {
                "action": "copy",
                "singleLine": false
            },
            "keys": "ctrl+insert"
        },
        {
            "command": 
            {
                "action": "splitPane",
                "split": "right"
            },
            "keys": "alt+shift+plus"
        },
        {
            "command": 
            {
                "action": "prevTab"
            },
            "keys": "ctrl+shift+tab"
        },
        {
            "command": 
            {
                "action": "closeOtherTabs"
            }
        },
        {
            "command": 
            {
                "action": "closeTab"
            },
            "keys": "ctrl+w"
        },
        {
            "command": 
            {
                "action": "closeTabsAfter"
            }
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 1
            },
            "keys": "ctrl+alt+2"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 4
            },
            "keys": "ctrl+alt+5"
        },
        {
            "command": 
            {
                "action": "adjustFontSize",
                "delta": 1
            },
            "keys": "ctrl+plus"
        },
        {
            "command": 
            {
                "action": "newTab"
            },
            "keys": "ctrl+t"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 1
            },
            "keys": "ctrl+shift+2"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 5
            },
            "keys": "ctrl+alt+6"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 8
            },
            "keys": "ctrl+alt+9"
        },
        {
            "command": 
            {
                "action": "moveFocus",
                "direction": "up"
            },
            "keys": "ctrl+alt+up"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 3
            },
            "keys": "ctrl+shift+4"
        },
        {
            "command": "resetFontSize",
            "keys": "ctrl+0"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 5
            },
            "keys": "ctrl+shift+6"
        },
        {
            "command": 
            {
                "action": "newTab",
                "index": 7
            },
            "keys": "ctrl+shift+8"
        },
        {
            "command": 
            {
                "action": "nextTab"
            },
            "keys": "ctrl+tab"
        },
        {
            "command": 
            {
                "action": "switchToTab",
                "index": 3
            },
            "keys": "ctrl+alt+4"
        },
        {
            "command": 
            {
                "action": "scrollDown"
            },
            "keys": "ctrl+shift+down"
        },
        {
            "command": "closePane",
            "keys": "ctrl+shift+w"
        },
        {
            "command": "togglePaneZoom"
        },
        {
            "command": "scrollDownPage",
            "keys": "ctrl+shift+pgdn"
        },
        {
            "command": 
            {
                "action": "resizePane",
                "direction": "down"
            },
            "keys": "alt+shift+down"
        },
        {
            "command": 
            {
                "action": "resizePane",
                "direction": "right"
            },
            "keys": "alt+shift+right"
        },
        {
            "command": "paste",
            "keys": "ctrl+shift+v"
        },
        {
            "command": "paste",
            "keys": "shift+insert"
        },
        {
            "command": 
            {
                "action": "globalSummon"
            },
            "keys": "ctrl+`"
        },
        // Other commands
        {
            "commands": 
            [
                {
                    "command": 
                    {
                        "action": "setColorScheme",
                        "colorScheme": "${scheme.name}"
                    },
                    "iterateOn": "schemes",
                    "name": "${scheme.name}"
                }
            ],
            // Select color scheme...
            "name": 
            {
                "key": "SetColorSchemeParentCommandName"
            }
        },
        {
            "commands": 
            [
                {
                    "commands": 
                    [
                        {
                            "command": 
                            {
                                "action": "splitPane",
                                "profile": "${profile.name}",
                                "split": "auto"
                            }
                        },
                        {
                            "command": 
                            {
                                "action": "splitPane",
                                "profile": "${profile.name}",
                                "split": "vertical"
                            }
                        },
                        {
                            "command": 
                            {
                                "action": "splitPane",
                                "profile": "${profile.name}",
                                "split": "horizontal"
                            }
                        }
                    ],
                    "icon": "${profile.icon}",
                    "iterateOn": "profiles",
                    "name": "${profile.name}..."
                }
            ],
            // Split pane...
            "name": 
            {
                "key": "SplitPaneParentCommandName"
            }
        },
        {
            "commands": 
            [
                {
                    "command": 
                    {
                        "action": "newTab",
                        "profile": "${profile.name}"
                    },
                    "icon": "${profile.icon}",
                    "iterateOn": "profiles",
                    "name": "${profile.name}"
                }
            ],
            // New tab...
            "name": 
            {
                "key": "NewTabParentCommandName"
            }
        }
    ],
    "alwaysOnTop": false,
    "copyFormatting": "none",
    "copyOnSelect": true,
    "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
    "disableAnimations": true,
    "firstWindowPreference": "persistedWindowLayout",
    "initialCols": 120,
    "initialRows": 30,
    "launchMode": "maximizedFocus",
    "minimizeToNotificationArea": true,
    "profiles": 
    {
        "defaults": 
        {
            "altGrAliasing": false,
            "antialiasingMode": "cleartype",
            "experimental.retroTerminalEffect": false,
            "experimental.useAtlasEngine": true,
            "font": 
            {
                "face": "Consolas NF",
                "size": 10
            },
            "hidden": false,
            "historySize": 9001,
            "padding": "0, 0, 0, 0",
            "snapOnInput": true
        },
        "list": 
        [
            {
                "altGrAliasing": true,
                "antialiasingMode": "grayscale",
                "closeOnExit": "graceful",
                "colorScheme": "Campbell",
                "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                "cursorShape": "bar",
                "font": 
                {
                    "size": 11
                },
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "historySize": 9001,
                "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
                "name": "Windows PowerShell",
                "padding": "8, 8, 8, 8",
                "snapOnInput": true,
                "startingDirectory": "%USERPROFILE%",
                "useAcrylic": false
            },
            {
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "altGrAliasing": false,
                "commandline": "wsl.exe -d Ubuntu ",
                "font": 
                {
                    "size": 9
                },
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "historySize": 9001,
                "name": "Ubuntu",
                "padding": "0, 0, 0, 0",
                "snapOnInput": true,
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": null
            }
        ]
    },
    "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,
    "tabSwitcherMode": "disabled",
    "windowingBehavior": "useAnyExisting"
}
@zakius commented on GitHub (Apr 20, 2022): I'm using the Show/hide the Terminal window action (or `globalSummon` in the config file), as quake mode as-is doesn't cut it for me, it's not bound by default, but I added it from GUI and haven't changed anything to override any parameters so in config it states ```` { "command": { "action": "globalSummon" }, "keys": "ctrl+`" }, ```` <details> <summary>the complete `settings.json` in case it helps:</summary> ```` { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": [ { "command": { "action": "switchToTab", "index": 6 }, "keys": "ctrl+alt+7" }, { "command": { "action": "newTab", "index": 0 }, "keys": "ctrl+shift+1" }, { "command": { "action": "moveFocus", "direction": "left" }, "keys": "ctrl+alt+left" }, { "command": { "action": "scrollUp" }, "keys": "ctrl+shift+up" }, { "command": "closeWindow", "keys": "alt+f4" }, { "command": { "action": "moveFocus", "direction": "right" }, "keys": "ctrl+alt+right" }, { "command": "openTabColorPicker" }, { "command": "toggleFullscreen", "keys": "alt+enter" }, { "command": "toggleFullscreen", "keys": "f11" }, { "command": { "action": "switchToTab", "index": 0 }, "keys": "ctrl+alt+1" }, { "command": "openNewTabDropdown", "keys": "ctrl+shift+space" }, { "command": "toggleFocusMode" }, { "command": "openTabRenamer" }, { "command": { "action": "splitPane", "split": "down" }, "keys": "alt+shift+minus" }, { "command": { "action": "commandPalette" }, "keys": "ctrl+shift+p" }, { "command": "scrollUpPage", "keys": "ctrl+shift+pgup" }, { "command": { "action": "openSettings", "target": "defaultsFile" }, "keys": "ctrl+alt+comma" }, { "command": { "action": "newTab", "index": 6 }, "keys": "ctrl+shift+7" }, { "command": { "action": "adjustFontSize", "delta": -1 }, "keys": "ctrl+minus" }, { "command": "find", "keys": "ctrl+shift+f" }, { "command": { "action": "newTab", "index": 4 }, "keys": "ctrl+shift+5" }, { "command": "toggleAlwaysOnTop" }, { "command": { "action": "newTab", "index": 8 }, "keys": "ctrl+shift+9" }, { "command": "duplicateTab", "keys": "ctrl+shift+d" }, { "command": { "action": "openSettings" }, "keys": "ctrl+comma" }, { "command": { "action": "resizePane", "direction": "up" }, "keys": "alt+shift+up" }, { "command": { "action": "renameTab" } }, { "command": { "action": "resizePane", "direction": "left" }, "keys": "alt+shift+left" }, { "command": { "action": "moveFocus", "direction": "down" }, "keys": "ctrl+alt+down" }, { "command": "unbound", "keys": "win+`" }, { "command": "unbound", "keys": "alt+left" }, { "command": "unbound", "keys": "alt+right" }, { "command": "unbound", "keys": "alt+up" }, { "command": "unbound", "keys": "alt+down" }, { "command": "unbound", "keys": "ctrl+shift+`" }, { "command": { "action": "switchToTab", "index": 2 }, "keys": "ctrl+alt+3" }, { "command": { "action": "switchToTab", "index": 7 }, "keys": "ctrl+alt+8" }, { "command": { "action": "newTab", "index": 2 }, "keys": "ctrl+shift+3" }, { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+shift+c" }, { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+insert" }, { "command": { "action": "splitPane", "split": "right" }, "keys": "alt+shift+plus" }, { "command": { "action": "prevTab" }, "keys": "ctrl+shift+tab" }, { "command": { "action": "closeOtherTabs" } }, { "command": { "action": "closeTab" }, "keys": "ctrl+w" }, { "command": { "action": "closeTabsAfter" } }, { "command": { "action": "switchToTab", "index": 1 }, "keys": "ctrl+alt+2" }, { "command": { "action": "switchToTab", "index": 4 }, "keys": "ctrl+alt+5" }, { "command": { "action": "adjustFontSize", "delta": 1 }, "keys": "ctrl+plus" }, { "command": { "action": "newTab" }, "keys": "ctrl+t" }, { "command": { "action": "newTab", "index": 1 }, "keys": "ctrl+shift+2" }, { "command": { "action": "switchToTab", "index": 5 }, "keys": "ctrl+alt+6" }, { "command": { "action": "switchToTab", "index": 8 }, "keys": "ctrl+alt+9" }, { "command": { "action": "moveFocus", "direction": "up" }, "keys": "ctrl+alt+up" }, { "command": { "action": "newTab", "index": 3 }, "keys": "ctrl+shift+4" }, { "command": "resetFontSize", "keys": "ctrl+0" }, { "command": { "action": "newTab", "index": 5 }, "keys": "ctrl+shift+6" }, { "command": { "action": "newTab", "index": 7 }, "keys": "ctrl+shift+8" }, { "command": { "action": "nextTab" }, "keys": "ctrl+tab" }, { "command": { "action": "switchToTab", "index": 3 }, "keys": "ctrl+alt+4" }, { "command": { "action": "scrollDown" }, "keys": "ctrl+shift+down" }, { "command": "closePane", "keys": "ctrl+shift+w" }, { "command": "togglePaneZoom" }, { "command": "scrollDownPage", "keys": "ctrl+shift+pgdn" }, { "command": { "action": "resizePane", "direction": "down" }, "keys": "alt+shift+down" }, { "command": { "action": "resizePane", "direction": "right" }, "keys": "alt+shift+right" }, { "command": "paste", "keys": "ctrl+shift+v" }, { "command": "paste", "keys": "shift+insert" }, { "command": { "action": "globalSummon" }, "keys": "ctrl+`" }, // Other commands { "commands": [ { "command": { "action": "setColorScheme", "colorScheme": "${scheme.name}" }, "iterateOn": "schemes", "name": "${scheme.name}" } ], // Select color scheme... "name": { "key": "SetColorSchemeParentCommandName" } }, { "commands": [ { "commands": [ { "command": { "action": "splitPane", "profile": "${profile.name}", "split": "auto" } }, { "command": { "action": "splitPane", "profile": "${profile.name}", "split": "vertical" } }, { "command": { "action": "splitPane", "profile": "${profile.name}", "split": "horizontal" } } ], "icon": "${profile.icon}", "iterateOn": "profiles", "name": "${profile.name}..." } ], // Split pane... "name": { "key": "SplitPaneParentCommandName" } }, { "commands": [ { "command": { "action": "newTab", "profile": "${profile.name}" }, "icon": "${profile.icon}", "iterateOn": "profiles", "name": "${profile.name}" } ], // New tab... "name": { "key": "NewTabParentCommandName" } } ], "alwaysOnTop": false, "copyFormatting": "none", "copyOnSelect": true, "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", "disableAnimations": true, "firstWindowPreference": "persistedWindowLayout", "initialCols": 120, "initialRows": 30, "launchMode": "maximizedFocus", "minimizeToNotificationArea": true, "profiles": { "defaults": { "altGrAliasing": false, "antialiasingMode": "cleartype", "experimental.retroTerminalEffect": false, "experimental.useAtlasEngine": true, "font": { "face": "Consolas NF", "size": 10 }, "hidden": false, "historySize": 9001, "padding": "0, 0, 0, 0", "snapOnInput": true }, "list": [ { "altGrAliasing": true, "antialiasingMode": "grayscale", "closeOnExit": "graceful", "colorScheme": "Campbell", "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "cursorShape": "bar", "font": { "size": 11 }, "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "hidden": false, "historySize": 9001, "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", "name": "Windows PowerShell", "padding": "8, 8, 8, 8", "snapOnInput": true, "startingDirectory": "%USERPROFILE%", "useAcrylic": false }, { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Command Prompt" }, { "altGrAliasing": false, "commandline": "wsl.exe -d Ubuntu ", "font": { "size": 9 }, "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "historySize": 9001, "name": "Ubuntu", "padding": "0, 0, 0, 0", "snapOnInput": true, "source": "Windows.Terminal.Wsl", "startingDirectory": null } ] }, "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, "tabSwitcherMode": "disabled", "windowingBehavior": "useAnyExisting" } ```` </details>
Author
Owner

@zadjii-msft commented on GitHub (Aug 1, 2022):

Okay, yea, I see this. The Terminal comes back to the size of the whole screen, then it maximizes on the next "frame", so to speak. I bet in IslandWindow::_globalActivateWindow, when we SW_RESTORE, we could like, SW_MAXIMIZE instead (if we knew the Terminal was maximized before)

@zadjii-msft commented on GitHub (Aug 1, 2022): Okay, yea, I see this. The Terminal comes back to the size of the whole screen, then it maximizes on the next "frame", so to speak. I bet in `IslandWindow::_globalActivateWindow`, when we `SW_RESTORE`, we could like, `SW_MAXIMIZE` instead (if we knew the Terminal was maximized before)
Author
Owner

@cubanx commented on GitHub (Dec 7, 2023):

Holy cow, I think I can add to this bug. It's not exactly the same, but it's similar. If you want me to do a new issue, let me know.

My setting that is controlling globalSummon:

"command": {
	"action": "globalSummon",
	"desktop": "toCurrent",
	"dropdownDuration": 250,
	"monitor": "any",
	"toggleVisibility": true
},
"keys": "win+`"
},

With these settings, I get same behavior described by @zakius , except it never maximizes again. If I maximize it by hand, it stays.

If I dismiss and summon it, it goes back to "big but not maximized" mode.

When I saw this thread, I tried reducing the command up there to:

"command": {
	"action": "globalSummon",
},
"keys": "win+`"
},

And now it worked correctly and stayed maximized. I put it all back to the first one, and started troubleshooting. It turns out that in my install at least, if I remove dropdownDuration it all works as expected.

That is the last one I would of expected to cause an issue, but here we are :)

Let me know if you need/want anything else to help with this, but I'm 100% cool living with the default dropdownDuration and having it maximized.

@cubanx commented on GitHub (Dec 7, 2023): Holy cow, I think I can add to this bug. It's not *exactly* the same, but it's similar. If you want me to do a new issue, let me know. My setting that is controlling `globalSummon`: ``` "command": { "action": "globalSummon", "desktop": "toCurrent", "dropdownDuration": 250, "monitor": "any", "toggleVisibility": true }, "keys": "win+`" }, ``` With these settings, I get same behavior described by @zakius , except it never maximizes again. If I maximize it by hand, it stays. If I dismiss and summon it, it goes back to "big but not maximized" mode. When I saw this thread, I tried reducing the command up there to: ``` "command": { "action": "globalSummon", }, "keys": "win+`" }, ``` And now it worked correctly and stayed maximized. I put it all back to the first one, and started troubleshooting. It turns out that in my install at least, if I remove `dropdownDuration` it all works as expected. That is the *last* one I would of expected to cause an issue, but here we are :) Let me know if you need/want anything else to help with this, but I'm 100% cool living with the default `dropdownDuration` and having it maximized.
Author
Owner

@zakius commented on GitHub (Dec 7, 2023):

that's an interesting find! unfortunately I just can't stand delays caused by blocking animations so that's not an option for me but may help fixing it! thanks

@zakius commented on GitHub (Dec 7, 2023): that's an interesting find! unfortunately I just can't stand delays caused by blocking animations so that's not an option for me but may help fixing it! thanks
Author
Owner

@cubanx commented on GitHub (Dec 7, 2023):

Oh yeah, for sure not a fix, but hopefully it helps whoever picks this bug up. I am ok with delays as long as functionality is there, so I'm all good on this.

Hopefully they figure out your issue!

@cubanx commented on GitHub (Dec 7, 2023): Oh yeah, for sure not a fix, but hopefully it helps whoever picks this bug up. I am ok with delays as long as functionality is there, so I'm all good on this. Hopefully they figure out your issue!
Author
Owner

@zakius commented on GitHub (Jan 20, 2025):

for me it seems the issue is fixed, I wasn't able to comment on it earlier as I'm generally using an external quake mode (due to this issue and another one and for other apps), but setting up a new machine I decided to check and it looks fine now

maybe changing the default animation time to 0 fixed it, maybe something else, I'm leaving this open in case you still have something tracked internally for this

@zakius commented on GitHub (Jan 20, 2025): for me it seems the issue is fixed, I wasn't able to comment on it earlier as I'm generally using an external quake mode (due to this issue and another one and for other apps), but setting up a new machine I decided to check and it looks fine now maybe changing the default animation time to 0 fixed it, maybe something else, I'm leaving this open in case you still have something tracked internally for this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17285