philc / philc/vimium

Go to mark goes to the wrong location

Open
#4,221 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
Sometimes, go to mark does not works. It goes to an other part of the page.
It still work in some sites.
I don't know what triggers it exactly, I have found the bug in a huge page, with anchor.

To Reproduce
Steps to reproduce the behavior:

Result : It goes to https://www.jetbrains.com/help/rider/Reference__Code_Inspections_CSHARP.html#CodeRedundancy
Expected : Should go to the position I've registered

Note that if you skip the scroll up with gg part, so if you are already on the mark, going to the mark will keep you at the same place (working).

Note also that there is an anchor, I don't know if that can help.

My config :

map ' Marks.activateGotoMode

Browser and Vimium version

  • Vivaldi : 5.6.2867.62 (Stable channel) (64-bit)
  • OS : Windows 10 Version 22H2 (Build 19045.2486)
  • Vimium : 1.67.4

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

Reproduce the reported behavior on the JetBrains page, using the configured Marks.activateGotoMode entry point and the supplied mark-navigation steps. Compare the saved position with the destination after gg; done means going to the mark returns to the registered text position rather than only the page anchor.

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
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.