Page 1 of 1

Smarter way to position new tabs

Posted: 18 Mar 2022 16:37
by John_C
Here is what I mean:

You have three tabs, a, b, c, and the currently opened tab is b.

If you click the New Tab button or press the Ctrl+T shortcut, the new tab should be opened on the right: a, b, c, x.

But if you open a new tab by using the tab context menu, the new tab should be opened next to the current: a, b, x, c

This is how it works in web browsers and I like it.

uodate. Another example, with a screenshot
tabs.png
  • If you left-click 1, or if you right-click 1 or 2 and then select "New Tab" - the new tab should be opened on the right: Recycle Bin, test, Computer, newtab. The same if you press Ctrl+T shortcut, but this is debatable; I don't have strong opinion about the shortcut.
  • If you right-click 3 and then select "New Tab" - the new tab should be opened next to the current tab: Recycle Bin, test, newtab, Computer

Re: Smarter way to position new tabs

Posted: 20 Mar 2022 06:04
by jupe
I assume you are looking for an inbuilt solution, so you will probably resent this reply, but FYI what you are asking for is basically already possible with a little effort, you can adjust the button action here:

Configuration | Tabs and Panes | Tabs | Open new tab

and by setting Ctrl+T shortcut key via UDC (after clearing it from CKS) to a script which you'd write that does as you request, only thing missing would be the tab context menu which would always follow the setting you used for the button, but you can create other means of access

Re: Smarter way to position new tabs

Posted: 20 Mar 2022 09:58
by John_C
...Only thing missing would be the tab context menu which would always follow the setting you used for the button...
And this is the problem :-) Changing the behavior of "New Tab" in the tab context menu is the key part of the whole idea. I don't have really strong opinion about the shortcut.