fixed trackpoint scrolling in java, office2007 etc...

Operating System, Common Application & ThinkPad Utilities Questions...
Post Reply
Message
Author
tian
Posts: 45
Joined: Wed Feb 28, 2007 1:00 pm

fixed trackpoint scrolling in java, office2007 etc...

#1 Post by tian » Thu Mar 29, 2007 5:35 pm

hi there!

just thought i'd share some info with my fellow thinkpad users.

problem:
scrolling with the trackpoint or trackpad doesnt work/crashes the driver.

cause:
by default, when you scroll the software tries to find the scrollbar associated with the corresponding pane. this works if and only if the pane is subclassed from an class that the software recognises (mfc anyone?). if you try scrolling in java base app (like intellij) or office 2007 the software wont be able to find the associated scrollbars - thus does nothing (or in the case of exceed crashes out).

solution:
add an entry to the tp4table.dat. NOTE: since i have an x60 - thus only the track point i only need to change this file.

having tried the same trick on my housemate's t60, we had to edit the tp4scrol.dat as well (apparently there are two tp4tables.dat to edit on his system).

WARNING:
i'm not 100% sure, but be aware of setting behavour to "None" when running without administrator privillages. housemate's t60 crashed out on 0xC2 stop. i think this is due possibily to dodgy code trying to free hooks and the exception code is out of range?

anyhow, you may or may not get this (could be my housemate's dodgy install :D), if you do then just:
a) add yourself to administrators group
b) change "None" to "WheelStd"
c) remove the entry from the file
d) live with the bluescreen :-P

--

this works for: microsoft office 2007 and most importantly intellij :-D

hope this helps,
tian

x240, 8gb, FHD intel 4400, SD7SB3Q128G1001, intel 7260, W7x84
w540, 32gb, 3k nvidia k2100m, CT512M550SSD, intel 7260, Xubuntu x64
w530, 32gb, FHD nvidia k2000m, CT480M500SSD mSATA + SSD, intel 6300, W8.1x64
x60, 2gb, 100gb 7k100, ibm agbn, xp pro

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6656
Joined: Sat Oct 29, 2005 6:20 am

Re: fixed trackpoint scrolling in java, office2007 etc...

#2 Post by dr_st » Fri Mar 30, 2007 9:49 am

tian wrote:solution:
add an entry to the tp4table.dat. NOTE: since i have an x60 - thus only the track point i only need to change this file.
Add what entry? And which of the TP4TABLE.DAT files? I have like 9 of them on my PC (in DRIVERS, IBMTOOLS and Program Files\Synaptics).

tian
Posts: 45
Joined: Wed Feb 28, 2007 1:00 pm

#3 Post by tian » Fri Mar 30, 2007 10:02 am

it depends which ones are in use :D

on my system the active files are in c:\windows\system32\tp4table.dat.

the files in your drivers folder are just cached installation drivers - so you wont see any effect from editing those. without knowing how your system is set up i cant say for sure, but i'd try the one in program files\synatics and media folders first.

the instructions on how to add the entry are given at the top of the file (advise reading it carefully before editing anything).

and example of how to do this is given here:
http://publib.boulder.ibm.com/infocente ... wheel.html

x240, 8gb, FHD intel 4400, SD7SB3Q128G1001, intel 7260, W7x84
w540, 32gb, 3k nvidia k2100m, CT512M550SSD, intel 7260, Xubuntu x64
w530, 32gb, FHD nvidia k2000m, CT480M500SSD mSATA + SSD, intel 6300, W8.1x64
x60, 2gb, 100gb 7k100, ibm agbn, xp pro

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6656
Joined: Sat Oct 29, 2005 6:20 am

#4 Post by dr_st » Fri Mar 30, 2007 10:54 am

True, the instructions are at the top of the file.

But how do I know what to write at the TopClass, ParentClass and WindowClass?

Currently I have problems with scrolling only in MATLAB7. It worked fine in MATLAB6, but doesn't work anymore.

Any ideas on how I can add support for that particular app?

Thanks.

tian
Posts: 45
Joined: Wed Feb 28, 2007 1:00 pm

#5 Post by tian » Fri Mar 30, 2007 11:20 am

hi there,

if unsure, you might want to copy an existing entry and just substitute the executable for matlab (sorry - cant test the settings as i dont have matlab installed).

the other settings have wildcards (*), so i'd try something like:

Code: Select all

*,*,<executable name>, *, *, *, WheelStd, 0, 9

and in the second section

*,*,<executable name>, *, *, *, WheelStd, 1, 9
NOTE: i'd advise copying an entry as apposed to the entries above - they might have typos. (i'm writing this post from memory on my desktop).

remember to reboot to apply (or terminating ultranav driver and restarting it might work too).

:wink:

x240, 8gb, FHD intel 4400, SD7SB3Q128G1001, intel 7260, W7x84
w540, 32gb, 3k nvidia k2100m, CT512M550SSD, intel 7260, Xubuntu x64
w530, 32gb, FHD nvidia k2000m, CT480M500SSD mSATA + SSD, intel 6300, W8.1x64
x60, 2gb, 100gb 7k100, ibm agbn, xp pro

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6656
Joined: Sat Oct 29, 2005 6:20 am

#6 Post by dr_st » Fri Mar 30, 2007 11:55 am

Thanks, it worked!

Not perfect, though, scrolling seems to be insensitive to the pressure on the trackpoint, so it always scrolls at constant speed, unlike most other applications. I tried different settings, but couldn't find one that enables pressure-sensitive scrolling.

But it's still better than nothing.

Thanks again for the wonderful tip. Who would have thought it's so simple?

tian
Posts: 45
Joined: Wed Feb 28, 2007 1:00 pm

#7 Post by tian » Fri Mar 30, 2007 12:01 pm

yeah - i have the same problem with intellij. the scrolling is a little on the slow side, but still better than nothing :-)

i havent test it yet, but with a bit of luck this trick will work for GTK stuff as well (i.e. eithereal/wireshark, gaim etc...).

it should be simpler (and more obvious) than this though. as we say in software engineering: if a user cant figure out how to do something in 5 mins, it's not a stupid user, it's bad design :D

x240, 8gb, FHD intel 4400, SD7SB3Q128G1001, intel 7260, W7x84
w540, 32gb, 3k nvidia k2100m, CT512M550SSD, intel 7260, Xubuntu x64
w530, 32gb, FHD nvidia k2000m, CT480M500SSD mSATA + SSD, intel 6300, W8.1x64
x60, 2gb, 100gb 7k100, ibm agbn, xp pro

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Windows OS (Versions prior to Windows 7)”

Who is online

Users browsing this forum: No registered users and 3 guests