Closing a tab switches to the right instead of the tab on the left
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When opening a new tab with t and then closing it with x, the next focused tab would be the one on the right instead of the left (the previous tab where you came from). This is somewhat inefficient when reading an article, opening a new tab for a little research, then closing the new tab to return to reading. Ctrl + W returns to the previous tab as expected.
To Reproduce
Steps to reproduce the behavior:
- visit any page; should be in between multiple tabs (or at least one tab on the right)
- press
tto open a new tab, visit any page - press
xto close the newly opened tab
Include a screenshot if applicable.
Browser and Vimium version
Chrome: 111.0.5563.66 (Official Build) (64-bit) (cohort: Stable)
Vimium: 1.67.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the sequence by opening a tab with t, visiting a page, and closing it with x while another tab is on the right. Compare x with Ctrl+W, which already returns to the previous tab. Done means x focuses the tab that was active before the newly opened tab, matching Ctrl+W.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100