I wish MiscTabCloseMiddleClick defaulted to false. As with the submitter of bug 4403, I often am trying to use the middle button to paste text into the terminal, and hit the tab instead of the window, which results in the tab closing. I have managed to lose shells multiple times, and a couple times lost unsaved files because the terminal closing killed the editor before I saved the file. If there is a good reason not to make false the default, I request that MiscTabCloseMiddleClick be added to the GUI so it is easier to find and change. If that is not possible, then it would be helpful if xfce-terminal asked for confirmation if the shell has any children (that is if something like pstree $$ is anything other than bash───pstree) so if I am running an editor or ssh session or a longer command I get a chance to not kill the terminal instantly. Thank you.
I think this should remain enabled by default, because this is the expected behavior, almost every tab-oriented app does this. A GUI option wouldn't hurt.
Fixed by http://git.xfce.org/apps/xfce4-terminal/commit/?id=f2db3a05a33eca594849b166f488f160b88328d2 - added a setting to preferences dialog; still on by default.