Notes on selection behaviour - l10nelw/select-tabs GitHub Wiki
Hopefully these are sensible and intuitive enough that you don't really have to think about them in regular usage.
Pinned tabs
Generated selections usually exclude pinned tabs, except:
- when the target is a pinned tab
- with a Parent-seeking command
- with a single-additive command (Add..., Trail...)
- with the Invert command, if the original selection included a pinned tab
Switching active tabs
The active tab (the one whose content is shown to you) is always selected, and always part of a multi-tab selection. So if a new selection does not include it, naturally a different tab becomes active; or in other words, you're switched to a different tab.
Only Trail... and Switch/Cycle... are commands designed to intentionally switch tabs.
For all other commands, any tab switch is incidental. Within a generated selection, the tab that becomes active is, in order of priority:
- The currently active tab (the ideal; Select Tabs prefers not to switch tabs whenever possible)
- The target tab (the one you right-clicked)
- The leftmost selected tab