Files: When dragging the last available tab from one window to another, close the old window

Created on 6 Jan 2019  路  8Comments  路  Source: elementary/files

The behavior of tabs in Files should mimic how Firefox does it. If I'm dragging a tab to another window and that tab I'm dragging is the last one or the only one in this particular window, automatically close that old window instead of navigating to Home.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Needs Design

All 8 comments

This is effectively a duplicate of #327 which is also about the behaviour when the last tab is closed.

@elementary/ux are generally in favour of the current behaviour and against changing it. There are at least two other ways of closing a window if that is what you want to do.

There are at least two other ways of closing a window if that is what you want to do.

Which would be these ways?

  • Click on the close button in the headerbar.
  • Press <Ctrl>Q (closes all Files windows)
  • Press <Alt>F4 (closes only active window)

You can also close all Files windows using the Planck dock.

I do think dragging a tab out could be a different use case, maybe. If I had two Files windows open and wanted to effectively combine them, I could see dragging my only open tab in one window into the other window and expecting the old window to cease to exist.

If that's too complex/special-cased to implement, I also understand, though. Open to thoughts from @elementary/ux of course.

Thank you, you put it in better words than I could explain

I guess the behaviour could be changed so that closing the last tab in a window which is not the only open Files window will close that window rather than create a new tab. I do not think that dragging a tab should per se be a special case.

Removing the duplicate tag since this seems to be a case about moving a tab and not closing a tab.

I think I agree with OP that this seems like a logical way to merge open windows. My inclination would be that when you're moving the last tab from one window to another you're indicating that you are done with that window. This is different from the case of closing a tab where it's not a clear indication that you also want to close the whole program, just that specific task/workspace.

Was this page helpful?
0 / 5 - 0 ratings