philc / philc/vimium

Key combination alt + number key are not registered/passed to browser

Open
#3,570 4 comments 1 reaction 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

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:

  1. Install Vimium from AMO or load from fbddc22a4da06ade2336145d973eb203a26ec430
  2. Open multiple tab any URL is fine
  3. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.