-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
closeOnExit: graceful
doesn't work right after moving a pane to a new tab
#11035
Comments
Huh. What other event handlers aren't getting hooked up? Could it be that Bell and the two focus trackers are also lost? Are we never calling Initialize? |
No, we're calling |
Yes, it looks like a pane converted into a new tab can't bell! |
Oh, oops, I'll take a look at this. |
So, sanity checking,
Is this a problem with all moved panes, or just ones moved to new tabs? Admittedly one of the reasons I adopted wt in the first place was so I could turn the bell off, so I never would have noticed it missing. :) |
|
…#11039) When moving a pane to a new tab previously we removed the event handlers on it as if we were closing it, but we are just moving it so we need to keep them. I tried really hard to make sure all of the events were hooked up correctly, but I guess I missed these originally since they are normally created in the Pane constructor. Closes #11035 ## Validation Steps Performed created panes, moved them to new tabs, confirmed that they close and ding appropriately.
🎉This issue was addressed in #11039, which has now been successfully released as Handy links: |
likely regressed in #10780
repro steps:
"closeOnExit": "graceful"
(I betalways
would work too, but haven't checked)mp -t 2
, to move this pane to a new tab.exit
expected:
pane exits, and with it, the tab
actual:
This is a bug that's only present in 1.11+, but since
movePane
only exists in 1.11+, it's not technically a regression. If we can't get it fixed for 1.11, we can probably just service this. I don't think this is worth blocking over.The text was updated successfully, but these errors were encountered: