Closing tabs with the mouse wheel button causes an immediate crash of the entire Terminal #5937

Closed
opened 2026-01-31 00:25:56 +00:00 by claunia · 3 comments
Owner

Originally created by @glitch100 on GitHub (Jan 15, 2020).

I assume this is to do with the TabViewItem.CloseRequested Event not being respected properly or some sort of bad subscription to it.

For what it's worth I would be happy to take a swing at this one if you aren't going to prioritise it but would need some pointers. CPP isn't my main, (C# is) but I suspect the event that is required or used somewhere might be in the CPP modules.

Environment

Windows build number:  Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.8.10091

Any other software?
None

Steps to reproduce

  • Open Terminal
  • Add new Tab
  • Use Mousewheel to second tab
  • Crash

Expected behavior

New tabs being closed don't cause crashes

Actual behavior

New tabs being closed by mousewheel cause issues

Originally created by @glitch100 on GitHub (Jan 15, 2020). I assume this is to do with the `TabViewItem.CloseRequested` Event not being respected properly or some sort of bad subscription to it. For what it's worth I would be happy to take a swing at this one if you aren't going to prioritise it but would need some pointers. CPP isn't my main, (C# is) but I suspect the event that is required or used somewhere might be in the CPP modules. # Environment ```none Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 0.8.10091 Any other software? None ``` # Steps to reproduce - Open Terminal - Add new Tab - Use Mousewheel to second tab - **Crash** # Expected behavior New tabs being closed don't cause crashes # Actual behavior New tabs being closed by mousewheel cause issues
Author
Owner

@zadjii-msft commented on GitHub (Jan 15, 2020):

Does this only happen with certain profiles and not others? I can't get this to repro on 0.8 myself, but who knows. There could be any number of reasons why this is happening, it's hard to say definitively without a stack trace. Could you maybe capture it with the Feedback hub and share the link, so we could investigate? /feedback

Though, if you're feeling brave enough to build the code and repro this under the debugger, you'll probably get a lot more relevant information than the Feedback hub can give us.

@zadjii-msft commented on GitHub (Jan 15, 2020): Does this only happen with certain profiles and not others? I can't get this to repro on 0.8 myself, but who knows. There could be any number of reasons why this is happening, it's hard to say definitively without a stack trace. Could you maybe capture it with the Feedback hub and share the link, so we could investigate? /feedback Though, if you're feeling brave enough to build the code and repro this under the debugger, you'll probably get a lot more relevant information than the Feedback hub can give us.
Author
Owner

@ghost commented on GitHub (Jan 15, 2020):

Hi there!

Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?

Thanks!

image image

@ghost commented on GitHub (Jan 15, 2020): Hi there!<br><br>Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?<br><br>Thanks!<br><br>![image](https://user-images.githubusercontent.com/18221333/62478757-b69d0d00-b760-11e9-9626-1fa33c91e7c5.png) ![image](https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png)
Author
Owner

@ghost commented on GitHub (Jan 19, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Jan 19, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5937