Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#531 Opening Youtube browser changes mouse vertical scroll

version_14.*
open
nobody
general (155)
5
2014-12-01
2012-10-01
Anonymous
No

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.

Discussion

  • Yes, I found it confusing scrolling 3 lines at a time.
    Any problem with it?

     
  • Josh
    Josh
    2012-10-04

    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.

     
  •  
    Attachments
  • 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.