emgram769 / lighthouse

A simple scriptable popup dialog to run on X.
MIT License
633 stars 31 forks source link

Typing words such as rest and test too fast enter as rset and tset. #67

Open ZeroEcks opened 9 years ago

ZeroEcks commented 9 years ago

I would use lighthouse except if I type test too quickly, it enters as tset, every time.

I think this is a threading issue. I don't know why it only happens for ".es" words.

I am definitely not entering the words wrong (I typed into a terminal as fast as I can and didnt make the mistake once, when I did it in ligthhouse it was swapping the letters)

0ion9 commented 9 years ago

Can't reproduce, personally (Arch Linux 64-bit, AwesomeWM). In any case we'll probably need more details -- OS, WM. cmd handler.

ZeroEcks commented 9 years ago

OS: Arch Linux WM: BSPWM CMD Handler: lighthouse | sh

I can rule out my keyboard, and I am just using the example configuration at the moment.

Sorry for not including those details to begin with, I forgot!

ZeroEcks commented 9 years ago

Here is a video of the issue.

http://youtu.be/lgatKT7cU-g

tperale commented 9 years ago

Hi, can you compile lighthouse with make debug and post the output while you're typing test ? Thank you.

ZeroEcks commented 9 years ago
melody@localhost:~/Code/lighthouse|master✓
➤ ./lighthouse
Found randr support, searching for displays.
randr screen initialization successful, x: 0 y: 0 w: 1366 h: 768.
16 to 19.000000
key: 65293
key: 116
Recieved 2 results.
key: 115
Recieved 2 results.
key: 101
Recieved 2 results.
key: 116
Recieved 2 results.
key: 65288
Recieved 2 results.
key: 65288
Recieved 2 results.
key: 65288
Recieved 2 results.
key: 65288
Recieved 0 results.
key: 65288

I typed "test" then hit backspace four times.

Godlikehobbit commented 9 years ago

On Arch Linux, using Awesome WM, also having this issue.