vim-vixen icon indicating copy to clipboard operation
vim-vixen copied to clipboard

Fixed issues with following the first link

Open MatiasStorm opened this issue 5 years ago • 2 comments
trafficstars

I noticed a bug when trying to follow the first link on a website with more links than characters in the charset. When pressing 'A', after the hints are shown, all hints starting with 'A' is shown, but there is no way I can pick the hint with the tag 'A'.

Steps to reproduce:

  1. Go to a website with more links than characters in the charset (default 27).
  2. Press 'f'.
  3. Try to follow the link with tag = 'A'.

I have come up with a solution to the problem by filling the counter in the HintKeyProducer with a number of 0's corresponding to the number of characters that is needed in each tag to make them unique.

MatiasStorm avatar May 12 '20 07:05 MatiasStorm

I second this issue! Found an old post from 2017 #234 reporting the same issue and stating a solution to press A followed by Enter. In my case, when pressing Enter the hints just disappear and the A-link is never followed...

Vim Vixen Version 0.32 Last Updated December 29, 2020

Mozilla Firefox 84.0 (64-bit) for Ubuntu canonical -1.0

Distro: Ubuntu 18.04.5 LTS Kernel: 4.15.0-128-generic x86_64 bits: 64 Desktop: Xfce 4.14.2 (Gtk 3.22.30) info: xfce4-panel dm: lightdm

PolyMMA avatar Jan 02 '21 13:01 PolyMMA

This is related to #182. It's not a bug because you can press Enter after A to use the one-character hints when there are two-character hints. But I prefer the behavior in this pull request for the reasons discussed in #182.

@ueokande Can you look into this?

ouuan avatar Apr 11 '21 01:04 ouuan