Sublime Forum

Broken smooth scrolling on linux

#1

I have noticed that smooth scrolling became really janky on linux in the last few months or so. I have a few different kinds of mice each of which exhibit this behavior: a Logitech Performance MX which has a hyper-scrolling mode which sends out lots of really small scroll deltas, a Microsoft Sculpt Ergonomic mouse which also has scroll acceleration and a regular mouse with an old fashioned scroll wheel. OTOH smooth scrolling using the touch pad on OS X is super smooth and so is smooth scrolling on linux in other applications e.g. Chrome which recently added smooth scrolling. The workaround for now is to disable smooth scrolling by setting scroll_speed = 0. Anyone else seen this?

0 Likes

#3

I noticed that the performance degradation correlates with the size of the sublime text window. I investigated this further using perf top and found that the following symbols take up most of the time:

58.72% sublime_text [.] 0x00000000001a800f
23.48% libpixman-1.so.0.30.2 [.] sse2_blt.part.10

Also, it looks like other people have noticed this too: https://github.com/SublimeTextIssues/Core/issues/803

0 Likes