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

Open
opened 2026-01-31 00:25:51 +00:00 by claunia · 0 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5935