Il 03/02/2011 01:19, Pavel Sanda ha scritto:
this kbd tool seems to lock randomly my keyboard.
it is locked after the test and take some time with mouse focusing to get the
keyboard back.
even worse happen when i change desktop, getting keyboard back to work needs
magic.
killing the whole testing in the middle is also hard.
very strange: my guess is that the whole problem is actually related to
killing the
tests run. `xvkbd' works by focusing continuously on the target window
before
sending the keys, and with my "-no_root" patch it will simply exits with
error if it
doesn't find a target lyx window. So, I suspect your "keyboard locked"
problem
is probably due to an attempt to kill the testing script, where there
were still
xvkbd invocations running in the background (i.e., the script didn't
actually
terminate).
I noticed terminating the scripts is an issue, I was thinking the best
thing to have
would be a simple separate window with a "Red Button" (perhaps to be
programmed
via tcl/tk): clicking on it should reach anyway a callback that kill all
the scripting,
no matter what the MonKey is typing.
to sum it up, the previous version was better,
I could keep it as optional (removing sources from the tree, but keeping
a script that
downloads the sources and applies my patch, useful for Linux users), if
enabled by
some environment var.
T.