Re: xdotool testing still not quite right

33 views
Skip to first unread message

Daniel Kahn Gillmor

unread,
May 24, 2017, 2:50:36 PM5/24/17
to Steve Newcomb, 850...@bugs.debian.org, 850...@bugs.debian.org, xdotool-users
Over on https://bugs.debian.org/850673 Steve Newcomb wrote:
> xdotool version 3.20160805.1 (testing) running under Ubuntu 16.04 /
> XFCE, I have to do a windowfocus on the target window before it can
> work. In other words:
>
> This works:
>
> xdotool search --name acer windowfocus --sync type asdf
>
> But this does not work:
>
> xdotool search --name acer type asdf

i'm running 1:3.20160805.1-3 on debian testing, andi can confirm this
observation.

This is related to https://github.com/jordansissel/xdotool/issues/156

it seems like the documentation for the "type" subcommand for xdotool:

--window windowid
Send keystrokes to a specific window id. See "SENDEVENT NOTES"
below. The default, if no window is given, depends on the
window stack. If the window stack is empty the current window
is typed at using XTEST. Otherwise, the default is "%1" (see
"WINDOW STACK").

is wrong, since if there is a window stack, "type" doesn't get sent to
%1.

--dkg
Reply all
Reply to author
Forward
0 new messages