philc / philc/vimium

Search box intermittendly freezing

Open
#4,199 0 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

Describe the bug

In Vimium FF, I'm often hitting a problem with the search box, triggered by pressing /. When the problem occurs, the search box accepts one or more search character but then doesn't accept any further input. In this state, if I press further keys, they do not appear in the search box, and they are not searched for. Pressing backspace does not result in the last character being removed. If I press ``/` again in this state, I get the firefox search bar pop up. If I press escape then the vimium search bar is closed.

This problem happens most often after pressing a single search character, but occasionally the freeze happens after 2 or more. Sometimes the search box works correctly, but this is rare. Which behaviour I get is not consistent. It seems to happen across all sites, and it doesn't matter whether the text I am searching for is present in the page or not.

Although this bug is not 100% consistent for me, it's happening very frequently - at least 80% or 90% of the time. I can get a working search bar by repeatedly escaping out of the search and retrying, but it takes many attempts.

To Reproduce

  1. Go to URL 'http://github.com/'
  2. Press / to start a search
  3. Type a few letters

Here's a screenshot - not sure if it's much use.

image

I'm also having problems with vimium showing white boxes behind a lot of it's UI elements, which you can see in this screenshot. I'm not sure if this is related - I think it's just a display glitch.

Browser and Vimium version

FIrefox 108.0.1
Build ID: 20221219135842
OS: Linux 5.15.85 #1-NixOS SMP Wed Dec 21 16:36:38 UTC 2022
Vimium: 1.64.6

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 from the / search entry point in Firefox 108.0.1, then trace Vimium's search-box input handling. Done means the search box consistently accepts typed characters and backspace without freezing or opening Firefox's search bar; no file or test is named in the issue.

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.