5

Overview

When I'm using vertical tabs I prefer to have them grouped by context β€” at least in some sense β€” so when I open a link from a page I'm exploring in a new tab I expect it to open in a child (nested) tab. This would be a wonderful feature to have.

Example

Here's an example of how I'd expect it to work:

Assuming I'm browsing some page (Page 1) and open 2 links (Page 2 and Page 3) from that page in a new tab the vertical tabs would look like this:

v Page 1
  | Page 2
  | Page 3

Now, while browsing Page 2, I open a link from that page (Page 4), resulting in the following tab layout:

v Page 1
    v Page 2
        | Page 4
    | Page 3

If I go back to Page 1 and open another link in a new tab (Page 5) I'd expect the result to be:

v Page 1
    v Page 2
        | Page 4
    | Page 3
    | Page 5

And finally, if I do any of the following:

  • Create a new tab (e.g. by using CMD+T) at any level;
  • Open one of my bookmarks/history in a new tab; or
  • Click a link outside the browser (e.g. from Discord)

I'd expect this new page (Page 6) to be opened at the top level:

v Page 1
    v Page 2
        | Page 4
    | Page 3
    | Page 5
> Page 6

I'd be happy to elaborate on this further if you have any questions πŸ™‚

  • Vlad replied to this.

    I just noticed that this might be a bug?

    When you left-click a link on a page and that page opens in a new tab it's nested under the active tab. However, when I middle click that same link it's opened in a new top-level tab.

    Is this intended behavior? It's not at all what I'd expect tbh.

    An easy way to reproduce:

    1. Configure Orion to use vertical tabs.
    2. Set your Kagi preferences to open links in a new tab.
    3. Make any search.
    4. Left-click a link.
    5. Notice it's opened in a nested tab.
    6. Go back to the search bar.
    7. Middle-click that same link.
    8. Notice it's opened in a new top-level tab.

      reykjalin Is this not how Orion already works? Can you make a diagram of what happens currently?

        Vlad It's not β€” or at least not when middle clicking with an external mouse, or when doing a Cmd+click.

        I recorded what happens with Kagi configured in 2 different ways; in the first video I disabled the "open links in new tab" setting, in the second video I enabled that setting. In both recordings the click operations is the same:

        1. Right click -> select "Open link in new tab"
        2. Middle-click
        3. Left-click

        Orion behaves as I expect when I left-click or right-click and select "open in a new tab", but not when I middle click.

        Testing Kagi with "Open in new tab" disabled

        A description of the click events:

        1. Right click -> select "Open link in a new tab"
          • This opens the tab as I'd expect; nested.
        2. Middle click
          • This opens the tab in a new top-level tab; not what I expect.
        3. Left click
          • This opens navigates the current tab to the link I clicked, which is what I expect.

        Testing Kagi with "Open in new tab" enabled

        A description of the click events:

        1. Right click -> select "Open link in a new tab"
          • This opens the tab as I'd expect; nested.
        2. Middle click
          • This opens the tab in a new top-level tab; not what I expect.
        3. Left click
          • This opens the tab as I'd expect; nested.

        Conclusion

        Maybe middle click with an external mouse is just not handled as I'd expect? Does this work as intended for you Vlad ? πŸ€”

        a month later
        No one is typing