How to drag the last Safari tab to another window?

When I have five windows open and want to consolidate two windows into one I usually manually drag & drop all tabs from one window to the second one. The issue is that you can’t drop the last tab onto another window.

My current workaround is to create a new (empty) tab, to drag & drop as usual, and then to close the window with that empty tab.

Is there a way to drag the last tab in Safari to another window like in Chrome or do I have to continue using my workaround?


Solution 1:

In Safari, one can move even the last tab of a window into another window simply by clicking on the tab's title area and then dragging and dropping onto the tab space of your target window. Dragging the last tab to a new window causes that window to close.

This is what it looks like to move the last tab, which I had opened at Top Sites.

enter image description here

That is actual size. The window 'collapses' during the drag operation and becomes semi-transparent.

The requirement is that View | Show Tab Bar is selected when the window is open with a single tab. This setting is sticky; it will 'stick' between Safari sessions.

Solution 2:

In Safari 8 on Yosemite you can drag the URL (or rather domain name) and drop it onto the plus sign which usually opens a new tab in another window. This way you can move the last tab from one window to another one.

I believe that previous versions just loaded the dropped URL in the active tab, replacing the tab’s contents. In Safari 8 you can still reproduce this behavior by dropping the URL onto a tab instead of the plus sign in the tab bar / toolbar.

The thread “Is it possible to convert window into tab?” is slightly related to my question.

Solution 3:

A really simple way to achieve what you wish to do without the tedious task of dragging tabs to other windows is to go to the Menu Bar, then the Window menu, then select Merge All Windows.

If you want to keep using your own method, go to the Menu Bar, go to View, then select Show Tab Bar.

screenshot of Window menu in Safari