ssanthosh243 / semicomplete

Automatically exported from code.google.com/p/semicomplete
0 stars 0 forks source link

mod4 modifier seems to be stuck after --clearmodifiers #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Having this in .xbindkeysrc:

"sleep 0.1 && xdotool type --clearmodifiers --args 1 123123 && xdotool key 
--clearmodifiers Tab && xdotool type --clearmodifiers --args 1 123123"
    m:0x40 + c:10
    Mod4 + 1

(That's for filling 2 textboxes in a browser)

push win(mod4)+1

sometimes the mod4 key is "stuck"
that means pressing e.g. TAB acts like win+TAB

What version of the product are you using? On what operating system?
20110530.1-6
xubuntu 13.04

Original issue reported on code.google.com by agros...@gmail.com on 13 Feb 2014 at 7:32

GoogleCodeExporter commented 9 years ago
The same for me. It appears to be connected with old 
https://code.google.com/p/semicomplete/source/detail?r=2952&path=/xdotool/xdo.c

There, you reproduced the error by launching while cycle. Then randomly hold 
Control or I press "c". You see, it writes small letters-c but finally, the 
Control joins C and the command is interrupted (even though I didnt press them 
together). From now, every key I press is combined with Control modifier. 
Hitting Control *will* clear the key-down state.

~$ while true; do xdotool key --clearmodifiers ctrl+l ; sleep 0.2; done
^L^L^L^Lc^L^L^Lf^L^L^L^L^L^Lc^L^L^L^L^L^L^L^C
:~$ ^C

Sometimes, it continues writing l-letters like this:
~$ llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll

Version:
Ubuntu 15.04
3.20141026.1

Have a nice day,
 Edvard

Original comment by edv...@edvard.cz on 15 Jul 2015 at 11:18