8

When you open a new tab, (like with cmd-click) new tabs appear immediately to the left of the existing tab. So, if you open up three links as new tabs from the first page, the order will be:
FIRST, 3, 2, 1.

This is normal behavior for Safari. Chrome opens them at the far end, so: FIRST, 1, 2, 3.

In Safari, you can enable a "secret" debug menu.

  1. Open Terminal
  2. Put in: defaults write com.apple.Safari IncludeInternalDebugMenu 1

(or '0' to turn it off).

In that debug menu in Safari, towards the bottom, there is an option "Tab Ordering".
Under that:

  • Position of New Tabs <--
  • Apply Position to Spawned Tabs
  • Apply Position to All Bank Tabs
  • Suppress Relating New Blank Tabs to Selected Tab
  • Show Tab Ancestry in Tab Title

In that first menu option (Position of New Tabs) you can choose:

  • After Current Tab <-- (This is the default)
  • After Related Tabs
  • After Last Related Tab
  • After Last Tab

This would be be fantastic to have available in Orion as well.

  • Vlad replied to this.
    14 days later

    TheDMV Instead of having all these options can you list just one or two most useful to implement?

      Vlad

      Of the four Safari options:

      After Current Tab <-- (This is the default for both Orion and Safari)
      After Related Tabs
      After Last Related Tab
      After Last Tab

      I think "After Related Tabs" is my prefered option.
      I don't know what other people's preferences might be, but "After Last Tab" isn't a bad, simpler option, and would be one I would be happy with.

        5 days later
        a year later

        Just one person, but I think the order of FIRST 1, 2, 3 is best. Often the first tab I open from a page is the first one I want to read, so it would make most sense for that to then be the next tab on the tab list, not whatever tab is the last one I opened.

        6 months later

        Vlad A related tab is one that was opened from the current tab. For example, I’m on a search result page (1) and click an article that opens in another tab (2), I then click a link to a product mentioned in the article, which opens in another tab (3). Now if I press the new tab button, the tab is placed in position 4 even if I have tabs that are further to the right.

          3 months later

          TheDMV
          Distinguishing between "After Related Tabs" and "After Last Related Tab" was confusing so I tested them out.

          To add some clarity:

          • Both options open the new tab after all sequential "related" tabs (before the next non-related tab).
          • The difference lies in what is considered a "related" tab.
          • "After Related Tabs" only considers descendent tabs (children, grandchildren, etc). I think this is the best option for spawned tabs (open in new tab) and would match Safari's behavior.
          • "After Last Related Tab" considers any related tabs (child, parent, uncle, nephew, etc). This option doesn't really make sense for spawned tabs, but could be useful for newly created "blank" tabs.

          It seems likely that Orion already tracks each tab's ID path (or "Tab Ancestry" as Safari refers to it) for nested vertical tabs, so this would also greatly enhance that feature. Implementing this may also provide a good opportunity to fix the issue of losing tab order upon restart or when a window is reopened as it depends entirely on the tab ordering data structure.

          No one is typing