Home Download Buy Blog Forum Support

Scrolling Issues

Scrolling Issues

Postby sponge on Mon Feb 14, 2011 6:20 am

Sorry for the vague bug report, but basically I'm unable to scroll up and down the document using the ThinkPad's TrackPoint scrolling (I believe they call the driver UltraNav.) This is confirmed working properly in 1.4. I'm not sure what kind of event it fires; I think it might be different than a normal mouse wheel event, and am willing to test if you have something available.

The normal behavior seems to be that most apps don't scroll 3 lines like most mouse wheels do, but instead scroll a smaller amount dependent on how far off-center the TrackPoint is. Sublime Text 1.4 would scroll line by line when scrolling a little, and speed up as you kept moving the nub in a direction.
sponge
 
Posts: 2
Joined: Mon Feb 14, 2011 6:08 am

Re: Scrolling Issues

Postby jps on Mon Feb 14, 2011 9:00 am

The TrackPoint drivers are decrepit things: the scrolling works by looking for scrollbars in an application, and manipulating them directly, rather than simply sending a WM_MOUSEWHEEL message, like a mouse wheel does.

In Sublime Text 1.4 this is supported by creating some fake scrollbars offscreen, and translating any scrolling into scroll messages internally. I'll add the same code to Sublime Text 2 for the next version.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Scrolling Issues

Postby sponge on Wed Feb 16, 2011 6:33 am

Thanks. What a horrible hack, but I guess it must be to get more fine grained control compared to the wheel messages.
sponge
 
Posts: 2
Joined: Mon Feb 14, 2011 6:08 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 11 guests