Windows Terminal Crashes When Re-entering a Nested Command in the Command Palette #23609

Open
opened 2026-01-31 08:47:08 +00:00 by claunia · 5 comments
Owner

Originally created by @iKun4real on GitHub (Sep 14, 2025).

Windows Terminal version

1.24.2372.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce

  1. Add the following nested command definition to the actions array in your settings.json file:
{
    "name": "Change font size…",
    "commands": [
        { "command": { "action": "adjustFontSize", "delta": 1 } },
        { "command": { "action": "adjustFontSize", "delta": -1 } },
        { "command": "resetFontSize" }
    ]
}
  1. Launch Windows Terminal.
  2. Open the Command Palette by pressing Ctrl+Shift+P.
  3. Select the newly created nested command ("Change font size…").
  4. The palette will now show the three sub-commands. Click the "Back" button at the top to return to the main list.
  5. Select the "Change font size…" command again.
  6. Observe that Windows Terminal crashes.

Expected Behavior

The Command Palette should successfully re-enter the nested command's sub-menu without crashing, allowing the user to select one of the sub-commands.

Actual Behavior

Windows Terminal crashes immediately upon the second attempt to enter the nested command menu.

Originally created by @iKun4real on GitHub (Sep 14, 2025). ### Windows Terminal version 1.24.2372.0 ### Windows build number 10.0.26100.0 ### Other Software _No response_ ### Steps to reproduce 1. Add the following nested command definition to the actions array in your settings.json file: ```json { "name": "Change font size…", "commands": [ { "command": { "action": "adjustFontSize", "delta": 1 } }, { "command": { "action": "adjustFontSize", "delta": -1 } }, { "command": "resetFontSize" } ] } ``` 2. Launch Windows Terminal. 3. Open the Command Palette by pressing Ctrl+Shift+P. 4. Select the newly created nested command ("Change font size…"). 5. The palette will now show the three sub-commands. Click the "Back" button at the top to return to the main list. 6. Select the "Change font size…" command again. 7. Observe that Windows Terminal crashes. ### Expected Behavior The Command Palette should successfully re-enter the nested command's sub-menu without crashing, allowing the user to select one of the sub-commands. ### Actual Behavior Windows Terminal crashes immediately upon the second attempt to enter the nested command menu.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:47:08 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 1, 2025):

Hmm.. we can't repro it here, but do you by chance have a second/non-English UI language set/?

@DHowett commented on GitHub (Oct 1, 2025): Hmm.. we can't repro it here, but do you by chance have a second/non-English UI language set/?
Author
Owner

@carlos-zamora commented on GitHub (Oct 1, 2025):

FWIW I couldn't get a repro on 1.24.2682.0

@carlos-zamora commented on GitHub (Oct 1, 2025): FWIW I couldn't get a repro on 1.24.2682.0
Author
Owner

@iKun4real commented on GitHub (Oct 2, 2025):

Hmm.. we can't repro it here, but do you by chance have a second/non-English UI language set/?

No, the UI language is English, and the system is in English as well.

https://github.com/user-attachments/assets/e2a11293-9dab-49b3-b88e-4f6737d31454

@iKun4real commented on GitHub (Oct 2, 2025): > Hmm.. we can't repro it here, but do you by chance have a second/non-English UI language set/? No, the UI language is English, and the system is in English as well. https://github.com/user-attachments/assets/e2a11293-9dab-49b3-b88e-4f6737d31454
Author
Owner

@iKun4real commented on GitHub (Oct 2, 2025):

FWIW I couldn't get a repro on 1.24.2682.0

That's weird. I had my friend try it, and the same thing happened to him.

@iKun4real commented on GitHub (Oct 2, 2025): > FWIW I couldn't get a repro on 1.24.2682.0 That's weird. I had my friend try it, and the same thing happened to him.
Author
Owner

@iKun4real commented on GitHub (Oct 2, 2025):

And I checked the Event Viewer, there's an Error:
Source: Application Error
Details:
Faulting application name: WindowsTerminal.exe, version: 1.24.2509.25002, time stamp: 0x68d59330
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.26100.4768, time stamp: 0x9e484279
Exception code: 0xc0000005
Fault offset: 0x0000000000272446
Faulting process id: 0x2734
Faulting application start time: 0x1DC334ECCAF96B5
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.24.2682.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 4e20ab38-2c84-48c6-b57e-b01eec05bb69
Faulting package full name: Microsoft.WindowsTerminalPreview_1.24.2682.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

@iKun4real commented on GitHub (Oct 2, 2025): And I checked the Event Viewer, there's an Error: Source: Application Error Details: Faulting application name: WindowsTerminal.exe, version: 1.24.2509.25002, time stamp: 0x68d59330 Faulting module name: Windows.UI.Xaml.dll, version: 10.0.26100.4768, time stamp: 0x9e484279 Exception code: 0xc0000005 Fault offset: 0x0000000000272446 Faulting process id: 0x2734 Faulting application start time: 0x1DC334ECCAF96B5 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.24.2682.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll Report Id: 4e20ab38-2c84-48c6-b57e-b01eec05bb69 Faulting package full name: Microsoft.WindowsTerminalPreview_1.24.2682.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23609