No scrolling after quick j-k
Describe the bug
No scrolling after pressing k j (stands still) To Reproduce
Steps to reproduce the behavior:
- press j
- release j
- press k
I cannot reproduce this issue. What browser/website are you using? Is it happening for you in all browsers or all websites?
Chrome, all websites. It happens only in linux (nixos, wayland). In my windows machine there's a slight stutter of a fraction of a second when you do it and it keeps going. In my linux it just stops
Chrome, all websites. It happens only in linux (nixos, wayland). In my windows machine there's a slight stutter of a fraction of a second when you do it and it keeps going. In my linux it just stops
Okay. I am also on Wayland Linux (Arch with Sway wm) and I cannot reproduce this issue in either Firefox or Chromium. I would guess it is likely an issue caused by something else in your setup, like another addon, or your key polling rate of your setup, etc. Some keyboards also do weird things with the key outputs instead of sending out the "direct" signals, so maybe try using a different keyboard and see if it's fixed. You could also try running your Nix install script on another machine and seeing if you still have the problem or if it is just that machine being slow for some reason. Unfortunately, unless I can find a consistent way to reproduce this I don't see how we can debug it to fix the problem, especially if the problem isn't actually in Vimium.
How about changing screen DPI to 100%?
My dpi is 100% I believe. I would need to check to make sure, but I don't know why this would effect anything. Does changing it make a difference for you?
On Wed, Jun 12, 2024, 2:33 PM Dahan Gong @.***> wrote:
How about changing screen DPI to 100%?
— Reply to this email directly, view it on GitHub https://github.com/philc/vimium/issues/4491#issuecomment-2163669269, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI2AQWKJQ7DGTAQHQ3FRYDZHCH57AVCNFSM6AAAAABI62SUVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGY3DSMRWHE . You are receiving this because you commented.Message ID: @.***>
Um then I have no idea.
If DPI is higher than 100%, Vimium may fail to recognize scrollable elements because of fractional position and size numbers, in some rare cases.
This seems to happen for me when I do so in this order: press j press k release j Or press k press j release k
This order can happen whenever you're switching between scrolling with j & k in quick succession. The releasing of the opposite scroll key results in the scrolling stopping no matter the direction you're moving.
This seems to happen for me when I do so in this order: press j press k release j Or press k press j release k
This order can happen whenever you're switching between scrolling with j & k in quick succession. The releasing of the opposite scroll key results in the scrolling stopping no matter the direction you're moving.
Yes, there is a short pause when switching directions, but I believe that is the correct functionality. It should stop until your key repeat timeout is up (how long your computer takes before holding a key makes it type that key a bunch of times quickly). For me everything seems to be working correctly. If for you the scrolling actually stops and stays stopped, make sure when you hold down a key that key eventually starts repeating (IE, you haven't turned off repeating on your system) and if repeating works and the scrolling stops, let me know.
Great writeup everyone. This is a duplicate of #2857, and has been fixed by #4717.