-
-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrolling sensitivity in macOS with retina display #1112
Comments
I think it has everything to do with the retina display. I don't have a retina display and for me |
Wouldn't this lead to |
Yeah, you're right, my bad. I thought about it a bit more and I think the best thing to do is to multiply |
I'll look at it when I have a moment |
What about Linux? X11 and Wayland also seem to be able to return a value from |
I have no idea whether the value needs to be multiplied on linux. Lets wait until someone with the requisite hardware reports. |
Does this help reproduce it on linux for anyone: https://wiki.archlinux.org/index.php/HiDPI ? |
I'm on Linux with HiDPI screen, but I don't fully understand what's the bug about. When I scroll with touchpad, the scrolling speed is subjectively "okay" 🙂 Are there more concrete steps I could take to reproduce the issue? The only difference I notice between kitty and sakura terminal regarding scrolling is that sakura is much smoother and pleasant for the eye, because it scrolls by pixels, while kitty scrolls by lines. Not sure if this is something of interest for kitty though. Sakura: kitty: |
When you move your fingers on the touch pad by a certain distance (if you use scroll acceleration, things get a little more complicated) does kitty scroll the content by the same distance as in other programs? You can also try putting |
|
Ok, so kitty does not seem to think that your hardware and software are able to support high resolution scrolling ( |
Scrolling is a bit weird comparing to other apps, I've just added GIFs showcasing the difference in the other issue: #1123 (comment) I have 4k 15" screen, my DPI value is 210, on X11 with i3 on Arch Linux. |
Checked this, in case you are curious. So I have DPI value set to 210 both with
Comparing to sakura or chromium, scrolling in kitty is much slower when I set @Luflosi if you ever get to implementing improvements for scrolling, be sure to ping me for testing 😉 |
On X11 with high dpi screens viewport_y_ratio is always 1, its the way glfw works. In any case that is irrelevant to the issue, since we would be using pixels reported in the scroll event directly that are pre-multiplied by glfw/X11 for high res screens, so viewport_y_ratio would not be used at all. |
(I'm not sure this has anything to do with retina display.)
Scrolling speed/sensitivity seems low compared to other terminals - about half the expected one.
I use a locally modified version of kitty with this change in scroll_event() in mouse.c even though I'm not sure this is the correct way to do it:
On my machine viewport_y_ratio is 2.0.
Unrelated: thanks for kitty - I like it very much and use it on a daily basis. Other terminals are way too slow for my liking.
The text was updated successfully, but these errors were encountered: