Closed saamalik closed 10 years ago
I can't reproduce.
What distribution do you use? Any ideas as to what is causing this for me? I'm testing using xte.c to see if I'm able to reproduce since it also uses xcb_test_fake_input.
What distribution do you use?
Arch Linux.
Any ideas as to what is causing this for me?
No, does xdotool key w
work?
No, does
xdotool key w
work?
Yes, xdotool key w
only outputs a single w. That said, I think xdo
is much cooler, and would like to figure out how to make it work.
Arch Linux.
How long ago did you update your system (pacman -Syyu
)? I only started seeing the problems after my refresh yesterday, and I'm confident I didn't modify any other configurations/files.
Anyway, I isolated the problem to xcb_test_fake_input
, it's almost as if the XCB_KEY_RELEASE isn't forwarded to the window. Could you please compile and test the following snippet:
https://gist.github.com/saamalik/8464619
Please compile and test before a system update, and then once afterwards please. Compile as: gcc -o xcb-test -lm -lxcb -lxcb-xtest xcb-test.c
.
The example works fine for me, my system is up-to-date (libxcb 1.10-1).
Well, I'm out of ideas--I just reinstalled libxcb too but same problem. Thanks for your help, but I'll close this bug =/
It's an xorg-server issue--when I downgraded xorg-server 1.15.0-5 to 1.14.5-2 I get a single 'w'. What xorg-server version are you running?
More info here: https://bugs.freedesktop.org/show_bug.cgi?id=73769
1.15.0-5
I'm not sure if it might help but I noticed that I can provoke the repeating w issue by pressing control before xdo key -k 25
(and by releasing it afterwards).
I also see this problem under Void Linux (with all updates)
I've been a happy camper with xdo for the past few months--but just today I did a 'pacman -Syyu' to upgrade my system, and while didn't get updated (I already had v0.3), a bunch of other packages seemingly unrelated packages got updated which some are causing xdo to misbehave--specifically xdo key
All key actions repeat without stopping. For example if I execute this in the terminal "sleep 1 && xdo key -k 25", the key 'w' is repeated continuously (wwwwwww...) until I press 'w' on the keyboard. Why are the keys repeating now, any ideas?
EDIT: I've also mailed the xcb mailer list: http://lists.freedesktop.org/archives/xcb/2014-January/009135.html EDIT2: Turns out it is xorg-server 1.15.0-5 issue. See last post for more info
Here are a list of packages that got updated:
[2014-01-15 12:14] [PACMAN] upgraded archlinux-keyring (20131027-1 -> 20140108-1) [2014-01-15 12:14] [PACMAN] installed wxgtk2.8 (2.8.12.1-1) [2014-01-15 12:14] [PACMAN] upgraded audacity (2.0.5-1 -> 2.0.5-2) [2014-01-15 12:14] [PACMAN] upgraded curl (7.34.0-2 -> 7.34.0-3) [2014-01-15 12:14] [PACMAN] upgraded gst-plugins-bad (1.2.2-1 -> 1.2.2-2) [2014-01-15 12:14] [PACMAN] upgraded clutter-gst (2.0.8-1 -> 2.0.10-1) [2014-01-15 12:14] [PACMAN] upgraded libgcrypt (1.5.3-1 -> 1.6.0-1) [2014-01-15 12:14] [PACMAN] upgraded systemd (208-3 -> 208-10) [2014-01-15 12:14] [PACMAN] upgraded llvm-libs (3.3-1 -> 3.4-1) [2014-01-15 12:14] [PACMAN] upgraded mesa (10.0.1-2 -> 10.0.2-1) [2014-01-15 12:14] [PACMAN] upgraded gdk-pixbuf2 (2.30.2-1 -> 2.30.3-1) [2014-01-15 12:14] [PACMAN] upgraded cogl (1.16.0-2 -> 1.16.0-3) [2014-01-15 12:14] [PACMAN] upgraded cryptsetup (1.6.3-1 -> 1.6.3-2) [2014-01-15 12:14] [PACMAN] upgraded pth (2.0.7-4 -> 2.0.7-5) [2014-01-15 12:14] [PACMAN] upgraded dirmngr (1.1.1-1 -> 1.1.1-2) [2014-01-15 12:14] [PACMAN] upgraded ffmpeg (1:2.1.1-3 -> 1:2.1.2-1) [2014-01-15 12:14] [PACMAN] upgraded fribidi (0.19.5-1 -> 0.19.6-1) [2014-01-15 12:14] [PACMAN] upgraded gcr (3.10.1-1 -> 3.10.1-2) [2014-01-15 12:14] [PACMAN] upgraded gdbm (1.10-3 -> 1.11-1) [2014-01-15 12:14] [PACMAN] upgraded gettext (0.18.3.1-2 -> 0.18.3.2-1) [2014-01-15 12:15] [PACMAN] upgraded perl (5.18.1-1 -> 5.18.2-2) [2014-01-15 12:15] [PACMAN] upgraded git (1.8.5.2-1 -> 1.8.5.3-1) [2014-01-15 12:15] [PACMAN] upgraded gnome-desktop (1:3.10.1-2 -> 1:3.10.2-1) [2014-01-15 12:15] [PACMAN] upgraded gnome-keyring (3.10.1-1 -> 3.10.1-2) [2014-01-15 12:15] [PACMAN] upgraded gnupg (2.0.22-1 -> 2.0.22-2) [2014-01-15 12:15] [PACMAN] upgraded gparted (0.17.0-1 -> 0.17.0-2) [2014-01-15 12:15] [PACMAN] upgraded grilo-plugins (0.2.9-2 -> 0.2.9-3) [2014-01-15 12:15] [PACMAN] upgraded gst-plugins-good (1.2.2-1 -> 1.2.2-2) [2014-01-15 12:15] [PACMAN] upgraded libsecret (0.16-1 -> 0.16-2) [2014-01-15 12:15] [PACMAN] upgraded gvfs (1.18.3-1 -> 1.18.3-2) [2014-01-15 12:15] [PACMAN] upgraded libibus (1.5.4-2 -> 1.5.4-4) [2014-01-15 12:15] [PACMAN] upgraded ibus (1.5.4-2 -> 1.5.4-4) [2014-01-15 12:15] [PACMAN] upgraded mesa-libgl (10.0.1-2 -> 10.0.2-1) [2014-01-15 12:15] [PACMAN] upgraded intel-dri (10.0.1-2 -> 10.0.2-1) [2014-01-15 12:15] [PACMAN] upgraded iptables (1.4.20-1 -> 1.4.21-1) [2014-01-15 12:15] [PACMAN] upgraded iproute2 (3.11.0-1 -> 3.12.0-1) [2014-01-15 12:15] [PACMAN] upgraded lib32-libgcrypt (1.5.3-1 -> 1.6.0-1) [2014-01-15 12:15] [PACMAN] upgraded lib32-llvm-libs (3.3-1 -> 3.4-1) [2014-01-15 12:15] [PACMAN] upgraded lib32-systemd (208-1 -> 208-2) [2014-01-15 12:15] [PACMAN] upgraded lib32-mesa (10.0.1-1 -> 10.0.2-1) [2014-01-15 12:15] [PACMAN] upgraded lib32-mesa-libgl (10.0.1-1 -> 10.0.2-1) [2014-01-15 12:15] [PACMAN] upgraded lib32-openssl (1.0.1.e-2 -> 1.0.1.f-1) [2014-01-15 12:15] [PACMAN] upgraded libevdev (0.4-2 -> 0.6-1) [2014-01-15 12:15] [PACMAN] upgraded libgnome-keyring (3.10.1-1 -> 3.10.1-2) [2014-01-15 12:15] [PACMAN] upgraded libwbclient (4.1.3-1 -> 4.1.4-1) [2014-01-15 12:15] [PACMAN] upgraded libxslt (1.1.28-2 -> 1.1.28-3) [2014-01-15 12:15] [PACMAN] upgraded linux-firmware (20131013.7d0c7a8-1 -> 20131230.52d77db-1)