[patch] Dont disable Xinput because of drawing outside the box

Bug #290159 reported by Karl Hegbloom
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CellWriter
New
Undecided
Unassigned
cellwriter (Ubuntu)
New
Undecided
Unassigned

Bug Description

Cellwriter is an amazing tool, and I use it every day on my Thinkpad tablet... but for some reason it kept stopping working, and I'd have to restart it before it would accept writing again. Today I ran it from a terminal just to see if it prints anything, and got a message about disabling Xinput because of invalid coordinates. I grepped the source for that message, and found the problem.

The attached patch makes it constrain the stroke to inside of the box, rather than disabling Xinput just because I've penned off the edge of the box, a very common occurance indeed. I can't understand why it wasn't written this way to begin with. Hmmm. Well, it is now, at least in my copy.

Now when I pen too far and go outside the grid, it keeps working even if it can't recognize the sloppy writing. I can try again.

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :
Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

Will this patch be applied? What did upstream say?

Does upstream have a publicly accessible revision control repo available?

Revision history for this message
Tom Jaeger (thjaeger) wrote :

This is the location of the upstream repo. I don't think anyone has forwarded this upstream yet.

http://code.google.com/p/cellwriter/source/checkout

Revision history for this message
Justin Dugger (jldugger) wrote :

Thanks. I wasn't aware risujin had started a Google Code project for it.

Revision history for this message
Justin Dugger (jldugger) wrote :

Forwarded upstream.

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

Please include the patch in the Ubuntu build. It truly does solve the problem. See my full comment on the Google Code issue 22 for Cellwriter.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.