mozdev.org

tpctip

resources:
What's New
  • tpctip released.
  • tpcisc released.
Other Stuff
  • Works with Firefox 1.0PR
  • Requires a build with accessibility enabled (all release versions do).

tpctip is a simple extension that lets a Tablet PC SP2 track the Mozilla cursor (by way of Mozilla accessibility support). This allows the Tablet Input Panel (TIP) work correctly. If you don't have a Tablet PC with Service Pack 2, this will do nothing for you.

The source code is included in the XPI file if you want to try compiling this yourself.

tpcisc is a complex extension that tries to improve your handwriting recognition by selecting an appropriate recognition filter. For example, only valid URL's will be recognized in the address bar. A heuristic algorithm will try to select an appropriate recognition filter when none is specified. A status bar popup lets you correct the recognition filter when the heuristics are wrong. The corrected setting is then remembered for future use. HIGHLY EXPERIMENTAL AND UNPROVEN!

It should be easy to globalize tpcisc if any multilingual tablet pc owners want to take that on. There is one file "core_scopes.xml" with all the english language at the top in entity definitions. This file also contains the pattern matches for deciding on a recognition filter. You can usually find this file by looking in

C:\Documents and Settings\user_name\Application Data\
Mozilla\Firefox\Profiles\default.???\extensions\
{a3ba6d99-e8de-465a-b155-f87586e47039}\components
You can put your profile folder anywhere, but this is the default. If you want to hack core_scopes.xml to localize it or add patterns, copy it to
My Documents\My Ink\Types\core_scopes.xml.
tpcisc will look for it there first, and your hacked file won't get overwritten if you install a new version of tpcisc.

I haven't made expat (the xml parser) part of the source tree, you will need that from sourceforge in order to compile. I used Visual C++ 2003; the free toolkit should work but I haven't tried it.

User Notes: [?]

If you do not get a response to a question posted in this forum, please try sending a message to the project's mailing list or to the project owner directly.

[1] Submitted by: Rob on Tuesday 9th November 2004 at 20:54 -0500

firefox 1.0 doesn't seem to like this extention anymore, even though it worked beautifully in 1.0 PR. Any plans for an update?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[2] Submitted by: Jason on Tuesday 9th November 2004 at 23:19 -0500

I also cant get it to work with the most recent, 1.0 version of Firefox.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[3] Submitted by: Rob Bushway on Wednesday 10th November 2004 at 23:28 -0500

Jim:

Any plans on getting this to work wtih 1.0?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[4] Submitted by: Brian on Friday 12th November 2004 at 17:16 -0500

Please? A timeframe for 1.0 support would be nice.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[5] Submitted by: Thad on Saturday 13th November 2004 at 21:20 -0500

I changed the install limits and it seems to work in 1.0, you can download the two extensions at

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[6] Submitted by: thadk on Saturday 13th November 2004 at 21:21 -0500

that would be www thadk dot net slash tilde thadk slash tpcfirefox

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[7] Submitted by: Brian Hogan on Tuesday 16th November 2004 at 13:54 -0500

Doesn't seem to work quite right. In fact, tpcisc doesn't work at all on my tablet (Motion m1400, Tablet PC Edition 2005). It appears once and works, but after it's used, it won't reappear.

tpctip works, but the keyboard mode disappears after entering a character.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[8] Submitted by: adam on Wednesday 24th November 2004 at 17:10 -0500

I keep getting an error when I try to install the tpctip. It says install script not found! Please help.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[9] Submitted by: TF on Wednesday 5th January 2005 at 22:41 -0500

Many thanks for the extension. It works great, though I do have one problem with it. When using the program "Stroke-it" and Firefox 1.0 + tpctip, often the following error message will pop up:

StrokeIt: strokeit.exe - Unable to Locate C...

This application has failed to start because xpcom.dll was not found. Re-installing the application may fix this problem.

When the tpctip extension is removed, the message doesn't appear.

Once again thanks for the great extension! Keep up the good work!

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[10] Submitted by: Malorkus on Sunday 30th January 2005 at 23:57 -0500

To fix the xpcom.dll error just copy all of firefox's dll files into the windows system directory (where all the regular windows dll's are). I guess something is looking for them in the wrong place.

Malorkus

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
[11] Submitted by: Tom on Saturday 26th February 2005 at 20:38 -0500

Hi,

is there any chance of this extension working under linux?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050121 Firefox/1.0 (Ubuntu) (Ubuntu package 1.0+dfsg.1-2ubuntu2)
[12] Submitted by: Ian on Wednesday 9th March 2005 at 10:26 -0500

OK, The to appears and seems to work correctly but when using the on-screen keyboard or any offer form of "single stroke input, the TIP disappears and then requires you to click the hovering TIP icon again in order to use it but after only one more stroke, it disappears again. (Annoying) Any way to fix this? I am using the newest firefox as of March, 2005: v 1.0.1 thanks for the great extension only one major bug, otherwise a life-saver.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 StumbleUpon/1.9992
[13] Submitted by: Mike on Monday 2nd May 2005 at 18:05 -0400

when I want to install the extension I get the message

"TPC TIP 0.0.2 could not be installed because it is not compatible with this version of Firefox. (TPC TIP 0.0.2 will only work with Firefox versions from 0.9 to 0.10)".

I use five fox 1.0.3.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
[14] Submitted by: Tony on Sunday 22nd May 2005 at 09:35 -0400

I also am using Firefox/1.0.4 and our unable to install this version of tpctip. Was there a release that works with this newer vision of Firebox?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[15] Submitted by: manuel on Friday 1st July 2005 at 02:37 -0400

From:


The extension still works fine (with a minor tweak) If you want to fix it yourself, download the Xpi file open it in WinZip and extract the install.rdf file. Edit the install.rdf, replacing 0.10 with 1.0, and use WinZip to put it back into the Xpi file. Install it by doing "File Open" in Firefox and you should be good (you should probably uninstall any currently installed version first)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[16] Submitted by: Jim on Saturday 23rd July 2005 at 16:18 -0400

Still having the same problem as Ian above in #12 with FF 1.0.6. This can make entering URLs a challenge. Any assistance appreciated!

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[17] Submitted by: Don on Friday 12th August 2005 at 11:16 -0400

This works on my Toshiba R15 Tablet, with SP2 and all patches current as of today, Aug 12 2005.

Rename the .xpi to .zip, unpack the .zip file and edit the install.rdf file, as shown below:

1.0 (change twice)
1.5 (change twice)

After saving the file, re-archive the files. Rename it to a .xpi file, and it should work. It's amazing having the tip actually appear in Firefox properly! It works on the address bar, searcher, and within pages!

Hope this helps,
Don

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[18] Submitted by: Don on Friday 12th August 2005 at 11:19 -0400

Darn comment thing stripped out the info due to the lesser-than and greater-than signs!

em:minVersion 1.0 /em:minVersion
em:maxVersion 1.5 /em:maxVersion

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[19] Submitted by: jason on Tuesday 23rd August 2005 at 23:52 -0400

I am also getting the problem in number 8, that of an install script error. I made the edits ro the .rdf file, file|open starts the install dialouge but install doesn't complete. Any ways to get around this?

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
[20] Submitted by: jokannes on Tuesday 20th September 2005 at 06:35 -0400

thats what I experienced:
- works ok with 1.0.6, you can download a ready-to-use xpi here (i took 9.0 as maxVersion - as described above)

- problem #12 is because of the auto-complete function of firefox (it may work with history set to 0 days - I won't test this because i love my history). let's wait for an extension that disables auto-complete at all. or simply type faster!

- problem #7 - when I enable the normal TIP (from the taskbar) the keyboard symbol disappears from firefox gui elements. thats normal. but when I close the normal TIP the keyboard icon does not re-appear. To fix this I simply opened a new GUI element (like history or file|open) and the icon re-appears.

- well done. I hope somebody will ever continue developing this extension.

Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
[21] Submitted by: jokannes on Tuesday 20th September 2005 at 06:39 -0400

www.inf.tu-dresden.de/~jv525052/download/tpctip.xpi

Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
[22] Submitted by: Mike on Wednesday 21st September 2005 at 12:38 -0400

The version listed in post [21] from "jokannes" installs and mostly works with version 1.5 beta 1. One drawback is that the tip does not appear when using the location/address bar.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
[23] Submitted by: Ian Weiner on Saturday 15th October 2005 at 00:38 -0400

I am taking up work on the TPCTIP and TPCISC extensions to make them work better since the original author seems to have abandoned them. If you want to help me beta test, send an email to:

tpctipplus (at) hotmathematician.com

I will post again when I have a release-ready version to share.

Also, #22 above, the extension actually seems like it does NOT work at all under 1.5 beta 1 or 2. What you saw was the "phantom TIP cursor" that appears without the extension but disappears after a while. This is one thing I'm aiming to fix.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
[24] Submitted by: Jan Wagner on Friday 21st October 2005 at 17:09 -0400

To #20 about problem #12 (TIP disappearing in OSK mode after each keypress): the problem isn't the autocomplete, it's the completely messed up caret handling in the tpctip source code. It was easy to fix, though. To Ian #23, I had already begun working on the code before reading your #23 :-) jan.wagner at iki.fi

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Tablet PC 1.7)
[25] Submitted by: Ian on Saturday 29th October 2005 at 23:49 -0400

I've started the GeckoTIP project to continue work on TPCTIP:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051029 Firefox/1.6a1
[26] Submitted by: Ian on Saturday 29th October 2005 at 23:50 -0400

geckotip.mozdev.org

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051029 Firefox/1.6a1
[27] Submitted by: squareman on Thursday 29th December 2005 at 13:30 -0500

To answer the question of the folks with "Installer script not found" (#8 and #19), it took some trial and error, but I discovered what our problem was:

When you unzip the archive (and I'm on OS X, so this might be different for other folks), the archive is in a folder/directory with the same name as the archive (minus extension). When you repack into a zip, do NOT pack the directory; otherwise, the critical install.rdf won't be in the TOP level directory of the archive, it will be _inside_ a folder called by the archive name.

Instead, select all the files IN the directory and pack those. Depending on your archiving software that file will be named some arbitrary title plus the zip extension. Rename THAT to FFextensionName.xpi and is should work (it did for me!).

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

To add a comment fill in the form below. HTML is not allowed in posts. Use two carriage returns to start a new paragraph.

This is not provided as an advertising medium, so posts with excessive numbers of links in will be discarded, as they are assumed to be spam. Javascript is used to stem the flow of auto-submissions.

For questions or comments about tpctip, please send a message to the tpctip mailing list.
Copyright © 2000-2008. All rights reserved. Terms of Use & Privacy Policy.