Skip to content

Dragging a tab from a single-tab window into that same window closes the tab

If the MiscAlwaysShowTabs=TRUE hidden preference is switched on, dragging a tab out of a single-tab window back into that same window's tab bar causes both the window and tab to hard-close.

I would expect that this does nothing, to mirror the behavior if multiple tabs are present in the window.

Steps to reproduce:

  • Set the hidden preference MiscAlwaysShowTabs=TRUE in the terminalrc
  • Open a window containing a single tab
  • Start dragging the tab out of the window's tab bar
  • Drop the tab back in the window's tab bar

Expected result:
The window remains open with the one tab in it.

Actual result:
The window and tab close.

I originally discovered this issue on version 0.8.10, but I can reproduce it with 1.0.4 as well.