jumps/tears when smooth scrolling on touchpads
Hi all,
I recently switched to xfce4 terminal and noticed a slightly problematic behavior when scrolling on touchpads using the two-finger vertical scroll: Touchpads generate both smooth-scroll and scrollwheel-as-a-mouse-button events, and xfce4-terminal unfortunately seems to accept and interpret both. In turn, this leads to scrolling which is properly smooth for first 3-4 lines, but interrupted by a ~10line jump each time the scrolling passes the "scrollwheel click distance". In turn, scrolling precisely is very tricky because the view of the scrolling text is distorted by the jumps -- it even looked like a graphical tearing glitch before I found this as a probable cause.
The problem happens on both touchpads I tried (on a recent dell XPS and a thinkpad E585). I can post hardware details/logs/debug output if needed (please specify what output I should collect). Toying with synclient
settings didn't show any viable improvements.
As a possible fix, it would be nice to either have an option that completely disables the scroll-button events that come from touchpads, or one that disables the smooth scrolling, or both.
In case this is an issue of the underlying VTE library, please let me know, I'll reopen it there. I could probably also code the fix myself, but I'm totally new to the xfce&VTE codebases, and could not decide where in the code the fix should actually go, mostly because I failed to find where the smooth scrolls are handled (feel free to point me, even simple "if
goes to XXX and config goes to YYY" would help :] ).
Thanks! -mk