“Undo Close Tab” Action to Re-Open in Previous Location

Once you are done reading, please delete the above notes

Use case or problem

Currently Obsidian’s behavior for this seems irregular with browser behavior, Chrome & Firefox in my experience, where reopening a tab consistently opens the tab right of the active tab, rather than it’s previous location.
→ When making this post I thought to check vs code and there too docs/tabs are reopened to their prior location.

When accidentally or prematurely closing a note, if I wanted to reopen it, I’ll need to use mouse or keyboard to relocate the tab.

Proposed solution

Have Obsidian’s “undo close tab” put the re-opened tab to it’s previous location rather than right of active tab. (last seen relative pane/location)

Current workaround (optional)

Manually moving the tab

Related feature requests (optional)

Original Feature addition (noting browsers as reference for request)

Me incorrectly raising this as a bug

Thanks as always!

Continuing the discussion from “Undo Close Tab” Action to Re-Open in Previous Location:

I would like to know which model/app was taken as reference. A lot of things in Obsidian behave like in a browser, but other, like current topic, is completely unexpected for me. Why not reusing browser behavior?

This is specially annoying on mobile, pasting my “BR” below for discoverability.

Tabs position after restoration is not respected on Android mobile

Steps

  1. Create 3 pages (A, B, C) in 3 different tabs
  2. In tab overview/switcher hold tap B one and select “close others”
  3. Restore, via “Undo close tab” available in tab overview/switcher menu, 2 times

Current

  • Tabs reopen in a different position after restoration (they open after the active tab).

Expected

  • Tabs get restored in the position they were before closing (or a command to “undo close all tabs” to avoid cumbersome, one by one, restoration and reordering of tabs.