philc / philc/vimium

Firefox: gF (mainFrame) command does not work

Open
#2,483 2 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

All of the correct Javascript seems to be being called. In particular, window.focus() is called in the main/top frame. However, this does not bring the focus back to the main/top frame (as expected).

To reproduce:

Observe that the focus is not in the main/top frame (you can't scroll it, say).

Firefox only.

(There is a lot of stuff which doesn't work in Firefox. Help/input would be appreciated.)

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 gf then gF sequence on the linked page in Firefox and trace the mainFrame focus handling. Verify how the Firefox-specific path responds to window.focus(); done means gF returns focus to the main/top frame so it can be scrolled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.