Open borekb opened 7 years ago
Is this behavior new or it was always like that for you?
I'd say it's new but I'm not really sure. Do you have a way to reach out to other Windows users and ask if they see the same behavior?
Can you try opening the preview and scrolling there? Is the behaviour the same in the preview and in the editor?
Interesting. I opened Caret, it loaded the document and the scrolling was problematic in both the editor and preview modes. I then maximized the window and all was smooth (both editor and preview)! Then I restored the window to the original size and the scrolling stayed smooth. So it seems that just the mere fact of changing the window size (not just maximizing but any change of size) fixes the issue for me.
At least I have a workaround now :)
Ok. I think I found the reason. You could read more about it here. It seems to be an Electron issue. The same issue have been reported for VS Code.
It seems other people have also noticed that the problem disappears on window resize. I will track those issues progress so we could fix the problem in Caret as soon as possible.
I have the exact issue in Caret 4.0 beta 6 https://www.dropbox.com/s/3oyb1iy9hhbntla/untitled%20%E2%80%A2%20%20%E2%80%94%20%20Introduction%201_18_2018%2010_18_21%20AM.mp4?dl=0
Resizing seems to fix this.
Thanks for the video Sammy. Unfortunately, this one is out of our control. We are waiting for the fix to land in Electron and then update Electron to get it fixed in our app.
I'm on a Windows laptop with a "precision touchpad" (i.e., the drivers are provided by Microsoft, not by a vendor like Synaptics) and the two-finger scrolling in Caret is weird. Sometimes it seems to miss the scroll gesture entirely, then I touch the touchpad again, move my finger just for a millimeter and the whole document jumps by something like 10 lines. Sometimes it even scrolls smoothly as in Chrome but that is rather rare.
It's a bit hard to describe but hopefully you guys will be able to see what I mean.
BTW, scrolling with a mouse is "normal" – not very smooth as it jumps by a couple of lines but that is the standard experience on Windows. With a touchpad, I'd expect a smooth scroll.