Explanation:
Just setup chromium/vimium on my new notebook (2560x1440 screen).
I use the "--force-device-scale-factor=2" cmdline option to scale the browser.
However i get wrong positions of the link hints (when pressing 'f').
Link hint posistions are initially right where they should be, but "drift up" when the page is scrolled down.
How to reproduce:
Start chromium with "--force-device-scale-factor=2".
Install vimium (if not already).
Open some site.
Scroll down a bit.
Press 'f'.
See the wrong link hint positions.
(See attached images for expanation, further down pictures represent further "scrolled-down" states).
Further explanation:
Use either "--force-device-scale-factor=2"
OR
set Xft.dpi: 192
in ~/.Xresources
(this is how i discovered it, nice option to make GUIs scale and chromium reads this value)
(both have the same effect, but for reproduction the bug, option number 1 is simpler)
My setup:
Arch x86_64 newest.
Chromium from official repos, newest (Version 61.0.3163.79 (dev-build) (64-Bit))
Duplicate of #2633
Looks like #2369 is responsible. Ping @gdh1995, it being your PR.
(Edit: specifically commit 0338c08ed)
Sorry, I'm testing it today.
I've pushed PR #2636, which should fix this.
Just tested f3b186c0.
On my non-HiDPI screen, with --force-device-scale-factor=2 (the bug was also present there) the issue is fixed.
Will test on my HiDPI in about 6h.
Thanks you all! Great work!
I run Chromium with --force-device-scale-factor=1.5. Before vimium was upgraded to 1.60 everything was fine. But after the upgrade today if the page is scrolled down then hints are at wrong positions.
I use chromium from the debian testing repo:
Chromium 60.0.3112.78 built on Debian buster/sid, running on Debian buster/sid
Looks like 1.60.2 fixes the issue for me, thanks!
Most helpful comment
I've pushed PR #2636, which should fix this.