bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-xnee] Re: XNEE problems / Questions


From: Henrik Sandklef
Subject: [Bug-xnee] Re: XNEE problems / Questions
Date: Mon, 02 Feb 2009 23:52:28 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

hi again

Burke, James wrote:

snip


I assume you record a Gnumeric session?

JB - Actually, gnumeric was not available. I used oocalc which is an OpenOffice 
application.
JB - I also tried xcalc. Both failed with the synchronization failure message 
above.
JB - Might the events to record vary based on the application? I tried recording all events JB - but the amount of data became too large.

Read this?

    http://itupw056.itu.chalmers.se/xnee/doc/xnee.html#SEC106

JB - Yes, I did read it. This section came across to me as more of a high level 
description
JB - not so much how to synchronize or what the cause might be of the sync 
error I received.


OK.

You probably record the "wrong" events. Erh, how did that sound?

Since X11 is asynchronous (no way to make sure that events gets send in the right order when replaying as when recording) we can rather easy get into a situation where we get a bunch of X events in advance and miss a couple of Y events (they will come later) when replaying. Xnee manages this by thresholds, but my experience is that setting them too high will lead to "more or less unsynced" behavior of your app. So I would go for investigating what events gets sent when you test.

But let's get down to your problem.

I tested oocalc a bit and noticed two things:

1) Xnee seems to be doing sth wrong when reading settings from command line and from recorded file :(

Q&D solution: remove the three lines in your recorded session file that sets the thresholds


2) Try synching with event 15 (VisibilityNotify)

   Record:
   -------

   ./cnee/src/cnee --record --mouse --keyboard \
        --delivered-event-range 15 -o hesa.xns -sk p

    Note: recording stops when you press the key p


    Replay
    -------

    replay with thresholds set high (and one TOO high):

    ./cnee/src/cnee --replay -f hesa.xns --verbose -bv \
         -mat 100 -mit -100 -tot 400

     Note: -bv comes from a Xnee built with buffer verbose supprt.
           use it at will, but you need to enable
           "buffer verbose" during configure


NOTE: I am looking deep into the sync code at the moment!!!!



/hesa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]