Opening Youtube browser changes mouse vertical scroll
Free media player with support for Youtube
Brought to you by:
rvm
Opening the Youtube browser changes the number of lines the mouse scroll-wheel is set to from 3 to 1 on the vertical scroll. Did not notice this behavior in version 8.
Windows 7 x64 using 32 bit build of SMPlayer v8.0.1 package without Mplayer.
Yes, I found it confusing scrolling 3 lines at a time.
Any problem with it?
The code (a.setWheelScrollLines(1)) stays in effect after smtube is closed, so it overrides what the user has set for Windows (default is 3). I actually asked Qt about this and it is by design that it modifies the user's mouse preferences in Windows for the scroll wheel.
In linux a.setWheelScrollLines(1) only affects smtube, no other application.
I've made a patch (smooth_scroll.diff) which seems to make the same thing without using setWheelScrollLines(1), but I'm not sure it's the right solution.