Terminal goes away without errors or warnings #22906

Closed
opened 2026-01-31 08:26:48 +00:00 by claunia · 8 comments
Owner

Originally created by @danie-dejager on GitHub (Feb 11, 2025).

Windows Terminal version

1.21.10351.0

Windows build number

10.0.26100.3037

Other Software

No response

Steps to reproduce

  1. Open Terminal.
  2. Open multiple tabs.
  3. Click on any of the tabs and drag the tab out of the terminal window.
    Terminal will close down. This sometimes happen randomly that the window will just completely close down and I lose all my work. The only repeatable way I found is to click and move a tab in Terminal. This happened to me on previous versions of Terminal too.

Expected Behavior

Either move the main Terminal window or detach the selected tab from the terminal window.
Terminal should not close down (at least without warning) as all my sessions are then dead and gone.

Actual Behavior

Terminal closes itself without warning or error.

Originally created by @danie-dejager on GitHub (Feb 11, 2025). ### Windows Terminal version 1.21.10351.0 ### Windows build number 10.0.26100.3037 ### Other Software _No response_ ### Steps to reproduce 1. Open Terminal. 2. Open multiple tabs. 3. Click on any of the tabs and drag the tab out of the terminal window. Terminal will close down. This sometimes happen randomly that the window will just completely close down and I lose all my work. The only repeatable way I found is to click and move a tab in Terminal. This happened to me on previous versions of Terminal too. ### Expected Behavior Either move the main Terminal window or detach the selected tab from the terminal window. Terminal should not close down (at least without warning) as all my sessions are then dead and gone. ### Actual Behavior Terminal closes itself without warning or error.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:26:48 +00:00
Author
Owner

@JEDIZECH10 commented on GitHub (Feb 11, 2025):

Dear @danie-dejager,
I would love to help with that! Could you please respond with the windows version (e.g. windows 11, 10 etc), steps to reproduce the issue, and the conditions that made the issue happen please?

  • JEDIZECH10
@JEDIZECH10 commented on GitHub (Feb 11, 2025): Dear @danie-dejager, I would love to help with that! Could you please respond with the windows version (e.g. windows 11, 10 etc), steps to reproduce the issue, and the conditions that made the issue happen please? - JEDIZECH10
Author
Owner

@zadjii-msft commented on GitHub (Feb 12, 2025):

We've seen this before in #15689 - @danie-dejager any chance you're in some sort of corporate environment with BeyondTrust running/? Are you running elevated? With EnableLUA=0?
Does it happen:

  • When you click & hold on the tab?
  • Once you've started moving it (but still inside the tab row)?
  • Once you drag it out of the window?
  • At the moment you drop it (either inside or outside the tab row)?
@zadjii-msft commented on GitHub (Feb 12, 2025): We've seen this before in #15689 - @danie-dejager any chance you're in some sort of corporate environment with BeyondTrust running/? Are you running elevated? With EnableLUA=0? Does it happen: - When you click & hold on the tab? - Once you've started moving it (but still inside the tab row)? - Once you drag it out of the window? - At the moment you drop it (either inside or outside the tab row)?
Author
Owner

@JEDIZECH10 commented on GitHub (Feb 13, 2025):

Hello, Mike. I will test this out and let you know what happens. Thank you for telling me the details. Would you like me to email you directly?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


@JEDIZECH10 commented on GitHub (Feb 13, 2025): Hello, Mike. I will test this out and let you know what happens. Thank you for telling me the details. Would you like me to email you directly? Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________
Author
Owner

@danie-dejager commented on GitHub (Feb 13, 2025):

*> Are you running elevated?
Switching around did not make a difference.

  • corporate environment with BeyondTrust running/?
    We are using BeyondTrust.
Active Policies
	1. PMC

System Info
	Client version: 23.3.130.0
	PMC adapter version: 23.3.256
  • With EnableLUA=0
    I won't be allowed to change that.
  • When you click & hold on the tab?
    No. Have to start moving it.
  • Once you've started moving it (but still inside the tab row)?
    Yes
  • Once you drag it out of the window?
    Yes
  • At the moment you drop it (either inside or outside the tab row)?
    Just moving it will close it down.

Sometimes it closes itself and I can't say that I was busy dragging the tab at that time. Sometimes if feels that it just closed randomly.

@danie-dejager commented on GitHub (Feb 13, 2025): *> Are you running elevated? Switching around did not make a difference. > * corporate environment with BeyondTrust running/? We are using BeyondTrust. ``` Active Policies 1. PMC System Info Client version: 23.3.130.0 PMC adapter version: 23.3.256 ``` > * With EnableLUA=0 I won't be allowed to change that. > * When you click & hold on the tab? No. Have to start moving it. > * Once you've started moving it (but still inside the tab row)? Yes > * Once you drag it out of the window? Yes > * At the moment you drop it (either inside or outside the tab row)? Just moving it will close it down. Sometimes it closes itself and I can't say that I was busy dragging the tab at that time. Sometimes if feels that it just closed randomly.
Author
Owner

@JEDIZECH10 commented on GitHub (Feb 13, 2025):

Ok, thank you for telling me

Get Outlook for Androidhttps://aka.ms/AAb9ysg


@JEDIZECH10 commented on GitHub (Feb 13, 2025): Ok, thank you for telling me Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________
Author
Owner

@zadjii-msft commented on GitHub (Mar 26, 2025):

Sorry - I missed this. You definitely can email the dump to me, but please @ me here if you do - my spam filters are aggressive

I have a theory that this may have gone away with the process model changes in 1.23 - can you try Terminal Preview and see if that just fixes this/?

@zadjii-msft commented on GitHub (Mar 26, 2025): Sorry - I missed this. You definitely can email the dump to me, but please @ me here if you do - my spam filters are _aggressive_ I have a theory that this may have gone away with the process model changes in 1.23 - can you try Terminal Preview and see if that just fixes this/?
Author
Owner

@danie-dejager commented on GitHub (Mar 31, 2025):

I'm sorry I gave up on Windows. All the security tools caused my PC to be so slow. Took a minute just to open terminal.

@danie-dejager commented on GitHub (Mar 31, 2025): I'm sorry I gave up on Windows. All the security tools caused my PC to be so slow. Took a minute just to open terminal.
Author
Owner

@DHowett commented on GitHub (Mar 31, 2025):

Alas, I'm sorry to hear that. We feel the same way about all the security tools ☹

@DHowett commented on GitHub (Mar 31, 2025): Alas, I'm sorry to hear that. We feel the same way about all the security tools ☹
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22906