Acknowledgement sent
to Alex Rozenshteyn <[email protected]>:
New Bug report received and forwarded. Copy sent to Vincent Bernat <[email protected]>.
(Wed, 17 Sep 2014 14:39:07 GMT) (full text, mbox, link).
Subject: xnee: cnee --replay sends mouse to upper left corner and doesn't move it
Date: Wed, 17 Sep 2014 10:22:35 -0400
Package: xnee
Version: 3.19-1
Severity: important
Dear Maintainer,
I tried to record and replay. I ran
$ cnee --record --mouse --keyboard --all-events -o /tmp/xnee.xns -e /tmp/xnee.log -v --stop-key 'F1'
and then
$ cnee --replay -f /tmp/xnee.xns
This led to my mouse moving to my upper left corner and to my key repeat rate being unset.
I also received these messages on replay:
Workaround: Creating context on data display instead of control
You can ignore this message
NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
I also attempted to run the 2.1.2 example in the online manual:
$ cnee --record -o example2.xnr --device-event-range 2-3 --time 5 --events-to-record 20
and replay with
$ cnee --replay -f example2.xnr --time 5
My mouse did not move and my key repeat rate didn't change, but the record wasn't replayed.
I should note that I'm using i3wm, a tiling window manager.
Thank you.
-- System Information:
Debian Release: jessie/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xnee depends on:
ii cnee 3.19-1
ii gnee 3.19-1
xnee recommends no packages.
xnee suggests no packages.
-- no debconf information
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Wed, 05 Nov 2014 22:57:04 GMT) (full text, mbox, link).
Hi. I have the same issue. Alex, do you have any more insight into
getting this working? I can see that the mouse motions are indeed
represented in a reasonable way in the file (I can plot the paths, and
they look right), but the playback just goes to the origin and stays
there, like you say
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Wed, 05 Nov 2014 23:09:04 GMT) (full text, mbox, link).
I found a workaround: record normally, but replay with
--force-core-replay. I haven't looked deeply into why this works. The
recorded file has events from the 'Virtual core pointer' and from the
'Synaptics Touchpad'. Removing one or the other doesn't fix it, but
passing that option does.
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Thu, 06 Nov 2014 21:00:05 GMT) (full text, mbox, link).
Henrik Sandklef <[email protected]> writes:
> I am currently not on my Debian laptop, but I can say that it works
> fine on my Ubuntu 14.10.
>
> Can you give me your xserver version?
> ... typically do: xdpyinfo | head -10
dima@shorty:~$ xdpyinfo| head -n 10
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11600000
X.Org version: 1.16.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
dima@shorty:~$ dpkg -l xorg
dpkg-query: no packages found matching xorg
dima@shorty:~$ dpkg -l xserver-xorg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-================-================-==================================================
ii xserver-xorg 1:7.7+7 amd64 X.Org X server
Acknowledgement sent
to Henrik Sandklef <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Thu, 06 Nov 2014 21:21:16 GMT) (full text, mbox, link).
I am currently not on my Debian laptop, but I can say that it works
fine on my Ubuntu 14.10.
Can you give me your xserver version?
... typically do: xdpyinfo | head -10
/h
My X server is:
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11600000
X.Org version: 1.16.0
On Wed, Nov 05, 2014 at 02:52:21PM -0800, Dima Kogan wrote:
> Hi. I have the same issue. Alex, do you have any more insight into
> getting this working? I can see that the mouse motions are indeed
> represented in a reasonable way in the file (I can plot the paths, and
> they look right), but the playback just goes to the origin and stays
> there, like you say
>
>
Acknowledgement sent
to Henrik Sandklef <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Thu, 06 Nov 2014 21:27:04 GMT) (full text, mbox, link).
Thanks, that was quick. Hmmm, same X as here.
How about your input devices, can you list them?
You can use xinput (with no args).
Also I would like to check your recorded Xnee file,
Cut paste from this command: cnee --record --events-to-record 10 --mouse --keyboard
Move your mouse a bit and Xnee will stop recording.
/h
On Thu, Nov 06, 2014 at 12:57:12PM -0800, Dima Kogan wrote:
> Henrik Sandklef <[email protected]> writes:
>
> > I am currently not on my Debian laptop, but I can say that it works
> > fine on my Ubuntu 14.10.
> >
> > Can you give me your xserver version?
> > ... typically do: xdpyinfo | head -10
>
> dima@shorty:~$ xdpyinfo| head -n 10
>
> name of display: :0.0
> version number: 11.0
> vendor string: The X.Org Foundation
> vendor release number: 11600000
> X.Org version: 1.16.0
> maximum request size: 16777212 bytes
> motion buffer size: 256
> bitmap unit, bit order, padding: 32, LSBFirst, 32
> image byte order: LSBFirst
> number of supported pixmap formats: 7
> dima@shorty:~$ dpkg -l xorg
> dpkg-query: no packages found matching xorg
>
>
> dima@shorty:~$ dpkg -l xserver-xorg
>
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-======================-================-================-==================================================
> ii xserver-xorg 1:7.7+7 amd64 X.Org X server
>
>
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Thu, 06 Nov 2014 21:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Henrik Sandklef <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Mon, 10 Nov 2014 23:06:20 GMT) (full text, mbox, link).
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Mon, 10 Nov 2014 23:21:15 GMT) (full text, mbox, link).
Henrik Sandklef <[email protected]> writes:
> Can you run the same command you had problem with:
>
> cnee --record --mouse -o /tmp/xnee.xns --first-last --smp
>
> and use a mouse instead of the Touchpad. This is really not likely the
> cause, but I would like to make sure.
That's it!
Currently my laptop is on a docking station, so both a touchpad and a
USB mouse are available. Recording events from the USB mouse works just
fine, but recording events from the touchpad requires
--force-core-replay, as described previously. This is both with the
stock xnee and with the one you sent a few days ago. I'm attaching 4
xnee recordings, showing all combinations of (USB,touchpad) and (debian
cnee,patched cnee).
OK. Thanks a lot.
I will try to resolve it. Probably boils down to me - think there's a bug when replaying an enumerated device recorded with a different device number...... Cant remember how I decided to solve it. Woops :(
Dima Kogan <[email protected]> wrote:
>Henrik Sandklef <[email protected]> writes:
>
>> Can you run the same command you had problem with:
>>
>> cnee --record --mouse -o /tmp/xnee.xns --first-last --smp
>>
>> and use a mouse instead of the Touchpad. This is really not likely
>the
>> cause, but I would like to make sure.
>
>That's it!
>
>Currently my laptop is on a docking station, so both a touchpad and a
>USB mouse are available. Recording events from the USB mouse works just
>fine, but recording events from the touchpad requires
>--force-core-replay, as described previously. This is both with the
>stock xnee and with the one you sent a few days ago. I'm attaching 4
>xnee recordings, showing all combinations of (USB,touchpad) and (debian
>cnee,patched cnee).
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Acknowledgement sent
to Henrik Sandklef <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Fri, 14 Nov 2014 09:00:04 GMT) (full text, mbox, link).
Great...I think, but I am confused (well, I guess I've always been).
Can you send over a log when running a replay session.
* Use the debian xnee
* Use the touchpad
* Replay (something) like this:
cnee --replay --file xnee_debian_touchpad.xns --verbose -e touchpadd.err
the important thind is to use the --verbose option
/h
On Mon, Nov 10, 2014 at 03:13:22PM -0800, Dima Kogan wrote:
> Henrik Sandklef <[email protected]> writes:
>
> > Can you run the same command you had problem with:
> >
> > cnee --record --mouse -o /tmp/xnee.xns --first-last --smp
> >
> > and use a mouse instead of the Touchpad. This is really not likely the
> > cause, but I would like to make sure.
>
> That's it!
>
> Currently my laptop is on a docking station, so both a touchpad and a
> USB mouse are available. Recording events from the USB mouse works just
> fine, but recording events from the touchpad requires
> --force-core-replay, as described previously. This is both with the
> stock xnee and with the one you sent a few days ago. I'm attaching 4
> xnee recordings, showing all combinations of (USB,touchpad) and (debian
> cnee,patched cnee).
>
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Fri, 14 Nov 2014 18:06:04 GMT) (full text, mbox, link).
Henrik Sandklef <[email protected]> writes:
> Can you send over a log when running a replay session.
> * Use the debian xnee
> * Use the touchpad
> * Replay (something) like this:
> cnee --replay --file xnee_debian_touchpad.xns --verbose -e touchpadd.err
> the important thind is to use the --verbose option
OK. I played back a touchpad recording, so the pointer went to the
corner. The err log is attached. The console also spit out the
following. Thanks a lot.
dima@shorty:~$ cnee --replay --file /tmp/xnee_debian_touchpad.xns --verbose -e touchpadd.err
---> xnee_find_option_entry_impl
xnee_find_option_entry_impl: "-e"
Compare 'file' 'e'
Compare 'help' 'e'
Compare 'flags' 'e'
Compare 'project' 'e'
Compare 'version' 'e'
Compare 'retype-file' 'e'
Compare 'write-settings' 'e'
Compare 'print-settings' 'e'
Compare 'print-event-names' 'e'
Compare 'print-event-name' 'e'
Compare 'print-error-names' 'e'
Compare 'print-error-name' 'e'
Compare 'print-reply-names' 'e'
Compare 'print-request-names' 'e'
Compare 'print-request-name' 'e'
Compare 'keyboard' 'e'
Compare 'mouse' 'e'
Compare 'print-data-names' 'e'
Compare 'manpage' 'e'
Compare 'texipage' 'e'
Compare 'type-help' 'e'
Compare 'demonstration' 'e'
Compare 'check-syntax' 'e'
Compare 'get-xinput-event-base' 'e'
Compare 'disable-xinput-events' 'e'
Compare 'replay-backend' 'e'
Compare 'force-core-replay' 'e'
Compare 'record-replay' 'e'
<--- xnee_find_option_entry_impl
---> xnee_find_option_entry_impl
xnee_find_option_entry_impl: "-e"
Compare 'err-file' 'e'
** Found key: 1 for option e at 0 in option array (err-file)
Found xns entry for '-e' 'touchpadd.err' at position: 0
long option: 'err-file'
short option:'e'
xnee_resource.c:1168-->xnee_parse_option_impl() Handling: 'XNEE_ERR_FILE_KEY'
--> xnee_prepare
---> xnee_open_files
--- xnee_open_files: handling err
--- xnee_open_files: opening err: touchpadd.err
Workaround: Creating context on data display instead of control
You can ignore this message
Workaround: Creating context on data display instead of control
You can ignore this message
NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
Workaround: Creating context on data display instead of control
You can ignore this message
####################################
# System information #
####################################
# Date: 2014:11:14
# Time: 10:00:17
# Xnee program: cnee
# Xnee version: 3.19
# Xnee home: http://www.gnu.org/software/xnee/
# Xnee info mailing list: [email protected]
# Xnee bug mailing list: [email protected]
# X version: 11
# X revision: 0
# X vendor: The X.Org Foundation
# X vendor release: 11600000
# Record version major: 1
# Record version minor: 13
# OS name: Linux
# OS Release: 3.16-3-amd64
# OS Version: #1 SMP Debian 3.16.5-1 (2014-10-10)
# Machine: x86_64
# Nodename: shorty
# Display name: :0.0
# Dimension: 1400x1050
Workaround: Creating context on data display instead of control
You can ignore this message
Acknowledgement sent
to Henrik Sandklef <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Sun, 16 Nov 2014 19:03:08 GMT) (full text, mbox, link).
Sorry, more work for you :(
Can you take the recorded file (xnee_debian_touchpad.xns) and replace
(device number) 16 with 7. Typically;
cat xnee_debian_touchpad.xns | sed 's/,16,/,7,/g' > xnee_debian_touchpad-mod.xns
and replay the same way:
* Use the debian xnee
* Use the touchpad
* Replay (something) like this:
cnee -e touchpadd.mod.err --replay --file xnee_debian_touchpad-mod.xns --verbose
/h
On Fri, Nov 14, 2014 at 10:00:30AM -0800, Dima Kogan wrote:
>
> Henrik Sandklef <[email protected]> writes:
>
> > Can you send over a log when running a replay session.
> > * Use the debian xnee
> > * Use the touchpad
> > * Replay (something) like this:
> > cnee --replay --file xnee_debian_touchpad.xns --verbose -e touchpadd.err
> > the important thind is to use the --verbose option
>
> OK. I played back a touchpad recording, so the pointer went to the
> corner. The err log is attached. The console also spit out the
> following. Thanks a lot.
>
>
> dima@shorty:~$ cnee --replay --file /tmp/xnee_debian_touchpad.xns --verbose -e touchpadd.err
> ---> xnee_find_option_entry_impl
> xnee_find_option_entry_impl: "-e"
> Compare 'file' 'e'
> Compare 'help' 'e'
> Compare 'flags' 'e'
> Compare 'project' 'e'
> Compare 'version' 'e'
> Compare 'retype-file' 'e'
> Compare 'write-settings' 'e'
> Compare 'print-settings' 'e'
> Compare 'print-event-names' 'e'
> Compare 'print-event-name' 'e'
> Compare 'print-error-names' 'e'
> Compare 'print-error-name' 'e'
> Compare 'print-reply-names' 'e'
> Compare 'print-request-names' 'e'
> Compare 'print-request-name' 'e'
> Compare 'keyboard' 'e'
> Compare 'mouse' 'e'
> Compare 'print-data-names' 'e'
> Compare 'manpage' 'e'
> Compare 'texipage' 'e'
> Compare 'type-help' 'e'
> Compare 'demonstration' 'e'
> Compare 'check-syntax' 'e'
> Compare 'get-xinput-event-base' 'e'
> Compare 'disable-xinput-events' 'e'
> Compare 'replay-backend' 'e'
> Compare 'force-core-replay' 'e'
> Compare 'record-replay' 'e'
> <--- xnee_find_option_entry_impl
> ---> xnee_find_option_entry_impl
> xnee_find_option_entry_impl: "-e"
> Compare 'err-file' 'e'
> ** Found key: 1 for option e at 0 in option array (err-file)
> Found xns entry for '-e' 'touchpadd.err' at position: 0
> long option: 'err-file'
> short option:'e'
> xnee_resource.c:1168-->xnee_parse_option_impl() Handling: 'XNEE_ERR_FILE_KEY'
> --> xnee_prepare
> ---> xnee_open_files
> --- xnee_open_files: handling err
> --- xnee_open_files: opening err: touchpadd.err
> Workaround: Creating context on data display instead of control
> You can ignore this message
> Workaround: Creating context on data display instead of control
> You can ignore this message
> NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
> NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
> NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
> Workaround: Creating context on data display instead of control
> You can ignore this message
> ####################################
> # System information #
> ####################################
> # Date: 2014:11:14
> # Time: 10:00:17
> # Xnee program: cnee
> # Xnee version: 3.19
> # Xnee home: http://www.gnu.org/software/xnee/
> # Xnee info mailing list: [email protected]
> # Xnee bug mailing list: [email protected]
> # X version: 11
> # X revision: 0
> # X vendor: The X.Org Foundation
> # X vendor release: 11600000
> # Record version major: 1
> # Record version minor: 13
> # OS name: Linux
> # OS Release: 3.16-3-amd64
> # OS Version: #1 SMP Debian 3.16.5-1 (2014-10-10)
> # Machine: x86_64
> # Nodename: shorty
> # Display name: :0.0
> # Dimension: 1400x1050
> Workaround: Creating context on data display instead of control
> You can ignore this message
>
>
>
Acknowledgement sent
to Dima Kogan <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Sun, 16 Nov 2014 19:12:10 GMT) (full text, mbox, link).
Henrik Sandklef <[email protected]> writes:
> Sorry, more work for you :(
No problem at all
> Can you take the recorded file (xnee_debian_touchpad.xns) and replace
> (device number) 16 with 7. Typically;
>
> cat xnee_debian_touchpad.xns | sed 's/,16,/,7,/g' > xnee_debian_touchpad-mod.xns
Hmmm. That file has no match for ,16, so that sed command does nothing.
Did you mean a different log file or a different device?
Acknowledgement sent
to john crabtree <[email protected]>:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>.
(Mon, 07 Aug 2017 12:33:02 GMT) (full text, mbox, link).
Subject: xnee: cnee --replay sends mouse to upper left corner and doesn't move
it
Date: Mon, 7 Aug 2017 13:30:33 +0100
This bug is still present today, Aug 2017. Work-around as per msg #15
works fine.
System: Dell Inspiron 1501, Devuan Jessie, Window Maker
Xnee version 3.19
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.