Next/Previous tab not working properly in Dia Browser
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
The order of tabs is very confusing. For example, I open four tabs: A-B-C-D, and everything works fine. However, when the tabs are reordered to A-C-B-D, if I am in tab B and move to the next tab, instead of going to D, I end up in C.
To Reproduce
- Open four tabs in your browser.
- Use Vimium to navigate between them and confirm the order works as expected.
- Manually reorder the tabs (e.g., drag tab B after tab C so the order is A-C-B-D).
- Focus on tab B.
- Use Vimium’s command to move to the next tab.
- Observe that instead of moving to tab D, you are taken to tab C.
Browser and Vimium version
Dia: Version 0.37.1 (65361) Chromium Engine Version 138.0.7204.101
Vimium: Latest
I can confirm that Vimium works well in Chrome; this issue only occurs in Dia. Also, when I use Dia's own shortcut Shift+Cmd+[ or ], it correctly moves to the next or previous tab.
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
Start by reproducing the reordered-tab case in Dia using Vimium’s next and previous tab commands, then compare the result with Dia’s Shift+Cmd+[ or ] shortcuts and the same workflow in Chrome. Done means Vimium follows the visible tab order after tabs are dragged, in both directions, without changing the working Chrome behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100