philc / philc/vimium

Next/Previous tab not working properly in Dia Browser

Open
#4,735 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Open four tabs in your browser.
  2. Use Vimium to navigate between them and confirm the order works as expected.
  3. Manually reorder the tabs (e.g., drag tab B after tab C so the order is A-C-B-D).
  4. Focus on tab B.
  5. Use Vimium’s command to move to the next tab.
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.