Bring back partial wheel tracking#5391
Conversation
|
@anthonykim1 can you pull the partial wheel tracking into CoreMouseService? |
|
I just realized the scrolling experience differs alot when using trackpad vs. mouse when scrolling. I'm aggressively scrolling with mouse in the two videos: Screen.Recording.2025-08-28.at.9.17.39.PM.movScreen.Recording.2025-08-28.at.9.16.29.PM.movSeems like better experience with mac trackpad, but bit too slow imo with mouse scrolling. Maybe the amount should be somewhere around 2 instead of 1? or wondering how should we handle mouse scroll vs. trackpad scroll. |
|
@anthonykim1 I think you have vim mouse events off which is why it's scrolling more slowly? As discussed "1 line" scrolled ends up translating into 4 lines when vim mouse support is on, which was 4 times faster than how it should be scrolling. The first video doesn't look great, could you look into what deltaY, deltaMode and targetWheelEventPixels are in your case? Different mouses/OSs behave differently. |
|
@Tyriar I'm not sure, I just added Two constant thing I found is that Here are more findings with mouse scroll:
Video for reference (only used mouse scroll): I noticed that on trackpad where I have good experience, the |
|
Update: I think I got it. Screen.Recording.2025-09-08.at.9.03.52.PM.mov |
Part of microsoft/vscode#224750