bugXnee - Bugs: bug #39208, XInput backend seems to be broken

 
 

bug #39208: XInput backend seems to be broken

Submitted by:  None
Submitted on:  Sat 08 Jun 2013 05:47:16 PM UTC  
 
Category: libxneeSeverity: 3 - Normal
Item Group: Error reportStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Jun 2013 05:47:16 PM UTC, original submission:

1. I configured and installed cnee with:
./configure --enable-xinput2 --enable-verbose -enable-buffer_verbose --prefix=$HOME/usr
make
make install

2. I recorded mouse movements in center of first screen using:
./cnee --record --events-to-record 1000 --mouse --keyboard -o cnee_test.xns -e xnee.log -v

And I tried to reply them with:
./cnee --replay -f cnee_test.xns -v -e xnee.log -ns

But when replaying events, pointer moved to (0,0) corner on the second screen (that's on left side of first screen), and didn't move anywhere else.

Next, I tried cnee with disabled xinput2:
./configure --disable-xinput2 --enable-verbose -enable-buffer_verbose --prefix=$HOME/usr

and this time it worked, with minor bug: http://savannah.gnu.org/bugs/index.php?39207

I think this bug is related with bug described in this mail:
http://lists.x.org/archives/xorg/2008-November/040828.html

I tried program from that mail (slightly modified so it compiles with modern X11 which doesn't have XQueryInputVersion function - there's XGetExtensionVersion which can be used instead), and
XTestFakeDeviceMotionEvent seems to be always moving cursor to (0,0) coordinates - except when it gets relative coordinates.

I don't know if it's really xnee bug, but maybe there is some workaround.

Tested with:
X Server version:
X.Org X Server 1.13.4
Release Date: 2013-04-17

Extensions:
XTEST 2.2
XInputExtension 2.2
RECORD 1.13

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup