Key combination alt + number key are not registered/passed to browser
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Bug description
Key combination alt + number key (i.e. 1, 2, 3, ..., 0) are not registered/passed to browser with Vimium installed. On Linux those key combination are used to switch to a tab based on its position, i.e. alt+1 will switch to the first tab.
Reproduce steps
Steps to reproduce the behavior:
- Install Vimium from AMO or load from fbddc22a4da06ade2336145d973eb203a26ec430
- Open multiple tab any URL is fine
- Press the key combination to switch tab
Browser and Vimium version
Browser: Firefox 77.0b8
OS: Linux 5.4.0-31-generic, Kubuntu 20.04
This issue does not present on Windows 10 and MacOS as they are using different key combination to switch tab, ctrl+number and cmd+number respectively.
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 issue on Firefox 77/Linux with Vimium loaded from commit fbddc22a4da06ade2336145d973eb203a26ec430, following the listed tab-switching steps. Trace the keyboard handling path for Alt plus number keys; done means those combinations are passed through so Firefox switches to the corresponding tab.
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
- 35/100