openstenoproject / plover

Open source stenotype engine
http://opensteno.org/plover
GNU General Public License v2.0
2.36k stars 277 forks source link

Works first stroke, then single characters thereafter #274

Closed androng closed 9 years ago

androng commented 9 years ago

Hello everyone, 

I found this wonderful website and bought a UTOpen Stenoboard. I downloaded Plover 2.5.8 onto my OS X 10.10.5 machine and added it to my Privacy panel so that it runs without Exceptions. However, it does not create any words on the text editor. Only single characters. Because Plover is registering the correct strokes, I think its a Plover issue and not a hardware issue. I only have the standard dictionary installed. 

Here are some strokes and what they produce in my text editor:

S: 1

T: 2

P: 3

HEL: h HRO: o RGBS: , -T [x20]:  t      t          e      t              h 

So you can see it works for the numbers but not for the letters. I tried TextEdit 1.10 and TextWrangler 4.5.1. Plover outputs either single characters or nothing. The log messages are the same for both editors. I tried with my macbook keyboard with the 3-key strokes: 

plover.log:

2015-10-04 14:28:37,698 Stroke(H- -L -E)
2015-10-04 14:28:37,699 Translation(('HEL',) : hell)
2015-10-04 14:28:56,810 Stroke(H- R- O-)
2015-10-04 14:28:56,811 *Translation(('HEL',) : hell)
2015-10-04 14:28:56,811 Translation(('HEL', 'HRO') : hello)
2015-10-04 14:33:39,154 Stroke(S- -D)
2015-10-04 14:33:39,155 Translation(('S-D',) : second-degree)

The log pretty much always shows the correct translation. So I think the problem lies in the keyboard emulation code, not in the input code or the translation code.

Video Demo: https://www.youtube.com/watch?v=NUA5x2Mxqxk

androng commented 9 years ago

Fixed!

I had to disable TextExpander, then restart Plover. (<-- no restart, no work) Then I can steno type! Wow. I have to remember to test software on a vanilla user account. I wonder if there's a way Plover can check whether its sharing the keyboard with TextExpander.