bug-xnee
[Top][All Lists]
Advanced

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

Re: [Bug-xnee] replicated event is ahead of the application


From: Henrik Sandklef
Subject: Re: [Bug-xnee] replicated event is ahead of the application
Date: Thu, 19 Jun 2003 11:43:37 +0200 (CEST)

Hi!

> for example i've recorded the ff events :
>
>    i've pressed a button using a touch panel.
>    and that button launched another button on
>    the other side of the screen after 5 seconds.

I am confused here. What kind of button do you mean?

A terminlogy to start with
---------------------------
 GUI button  = a software button (rather than a physical one)
               drawn on the screen.
 ButtonPress = an event sent from the X server to the X
               client/application.

What happends when?
--------------------
Touching the touch panel in some clever way (probably pressing on it)
causes a ButtonPress.

A ButtonPress, when the cursor is located above a GUI button, will
probably invoke a callback in your application.

OK, let's get on with it. You cause a ButtonPress using the touch panel.
This leads to a callback being called. This callback draws a new GUI
button on your screen. You wait 5 seconds before you press this new
button. OK? ..... Am I right so far?



> so when i've replayed it:
>
>    the first button was pressed but in less than a second,
>    the cursor goes to the other side of the screen, supposedly
>    pressing a button but the button will only surfaced after
>    4 more seconds. thus the event that i've recorded wasn't replicated.
>
OK... I guess I was right before!


> is there anyway xnee can sync with the system clock?
> to what, xnee is being sync anyway?

Xnee __SHALL__ do this automagically. If not, a major fault has been
introduced :(

> i've already remedied my problem. what i did was
> to replay dummy events (keyboard event, which has
> no effect on the GUI as it only accepts inputs
> from the Touch panel) while i'm recording so that
> when replayed, the event woudln't be ahead of the
> application because it is busy replicating the
> keyboard event every second(?) .

You really shouldn't need doing this. I will deal with this report before
any other Xnee related stuff.

> is there any other way of having the same results properly?
....as said, Xnee shall handle this. Event when choosing to replay using
the no-sync option Xnee shall replay with the correct time.


>
>
> MOUSE.LOG
> ================================================================
>
>
> #####        Xnee   ########
> #
> #
> # This file is generated by Xnee and for use by Xnee
> # If you know what you do....  edit it ;)
> #
> #
> # Date:                 2003:06:20
> # Time:                 08:12:16
> # Xnee version:         1.07
> # Xnee home:            http://www.gnu.org/software/xnee/
> # Xnee mail:            address@hidden
> # X version:            11
> # X revision:           0
> # X vendor:             The XFree86 Project, Inc
> # X vendor release:     40300000
> # Record version major: 1
> # Record version minor: 13
> # OS name:              Linux
> # OS Release:           2.2.20
> # OS Version:           #5 Tue Feb 18 09:30:47 SGT 2003
> # Machine:              i686
> # Nodename:             sm700
> # Display name:         127.0.0.1:0
> # Dimension:            800x600
> # Xnee settings
> # -------------
> # all-events:       0
> # everything:       0
> # loops-left :       -1
> # no-expose:        0
> # stop-key:         0,0
> # last-motion:      0
> # first-last:       0
> # out-file:        /opt/dgxnee/event.log
> # err-file:        stderr
> # ProgramName:      xnee
> # Version:          1.07
> # DisplayName:      127.0.0.1:0
> # Nr of recorded data:  -1
> # Record Setting
> #   data_flags          7
> #   rState              134615512
> #   xids[0]             14680064
> #   xids[1]             12582912
> # Number of Ranges      1
> # RecordRange[0]
> #   request-range:           0-0
> #   reply-range:                   0-0
> #   extension-request-major-range:  0-0
> #   extension-request-minor-range:  0-0
> #   extension-reply-major-range:   0-0
> #   extension-reply-minor-range:   0-0
> #   delivered-event-range:         0-0
> #   device-event-range:            6-6
> #   error-range:                   0-0
> 0,6,693,553,0,0,0,3829646
> 0,6,697,533,0,0,0,3829666
> 0,6,697,479,0,0,0,3829696
> 0,6,697,431,0,0,0,3829716
> 0,6,697,381,0,0,0,3829736
> 0,6,693,325,0,0,0,3829766
> 0,6,687,263,0,0,0,3829786
> 0,6,681,207,0,0,0,3829816
> 0,6,681,171,0,0,0,3829836
> 0,6,681,147,0,0,0,3829866
> 0,6,681,129,0,0,0,3829886
> 0,6,681,121,0,0,0,3829916
> 0,6,681,113,0,0,0,3829936
> 0,6,681,95,0,0,0,3829966
> 0,6,681,71,0,0,0,3829986
> 0,6,681,51,0,0,0,3830016
> 0,6,681,29,0,0,0,3830036
> 0,6,681,7,0,0,0,3830066
> 0,6,679,0,0,0,0,3830086
> 0,6,679,1,0,0,0,3830316
> 0,6,679,2,0,0,0,3830346
> 0,6,679,5,0,0,0,3830366
> 0,6,679,6,0,0,0,3830396
> 0,6,679,7,0,0,0,3830496
> 0,6,679,8,0,0,0,3830526
> 0,6,679,10,0,0,0,3830546
> 0,6,679,13,0,0,0,3830576
> 0,6,679,14,0,0,0,3830596
> 0,6,679,17,0,0,0,3830626
> 0,6,679,18,0,0,0,3830646
> 0,6,679,20,0,0,0,3830676
> 0,6,679,21,0,0,0,3830696
> 0,6,679,22,0,0,0,3830746
> 0,6,679,24,0,0,0,3830766
> 0,6,679,25,0,0,0,3830836
> 0,6,678,25,0,0,0,3831396
> 0,6,664,25,0,0,0,3831426
> 0,6,640,27,0,0,0,3831446
> 0,6,612,27,0,0,0,3831476
> 0,6,586,27,0,0,0,3831496
> 0,6,566,27,0,0,0,3831526
> 0,6,546,27,0,0,0,3831546
> 0,6,530,31,0,0,0,3831576
> 0,6,518,35,0,0,0,3831596
> 0,6,504,41,0,0,0,3831626
> 0,6,490,49,0,0,0,3831646
> 0,6,480,57,0,0,0,3831676
> 0,6,472,65,0,0,0,3831696
> 0,6,468,73,0,0,0,3831726
> 0,6,466,79,0,0,0,3831746
> 0,6,464,87,0,0,0,3831776
> 0,6,462,97,0,0,0,3831796
> 0,6,460,105,0,0,0,3831826
> 0,6,460,106,0,0,0,3831876
> 0,6,460,107,0,0,0,3831916
> 0,6,460,108,0,0,0,3831946
> 0,6,460,109,0,0,0,3831966
> 0,6,460,110,0,0,0,3831996
> 0,6,460,112,0,0,0,3832016
> 0,6,459,112,0,0,0,3832386
> 0,6,458,111,0,0,0,3832406
> 0,6,457,110,0,0,0,3832436
> 0,6,451,106,0,0,0,3832456
> 0,6,447,102,0,0,0,3832486
> 0,6,443,94,0,0,0,3832506
> 0,6,441,86,0,0,0,3832536
> 0,6,439,74,0,0,0,3832556
> 0,6,437,66,0,0,0,3832586
> 0,6,435,58,0,0,0,3832606
> 0,6,435,50,0,0,0,3832626
> 0,6,435,48,0,0,0,3832656
> 0,6,435,40,0,0,0,3832676
> 0,6,435,38,0,0,0,3832706
> 0,6,435,37,0,0,0,3832726
> 0,6,435,38,0,0,0,3833286
> 0,6,431,42,0,0,0,3833316
> 0,6,427,50,0,0,0,3833336
> 0,6,425,58,0,0,0,3833366
> 0,6,423,66,0,0,0,3833386
> 0,6,421,74,0,0,0,3833416
> 0,6,421,82,0,0,0,3833436
> 0,6,421,90,0,0,0,3833456
> 0,6,421,98,0,0,0,3833486
> 0,6,421,106,0,0,0,3833506
> 0,6,421,108,0,0,0,3833536
> 0,6,421,110,0,0,0,3833556
> 0,6,421,111,0,0,0,3833596
> 0,6,421,113,0,0,0,3833616
> 0,6,421,114,0,0,0,3833646
> 0,6,421,115,0,0,0,3833996
> 0,6,421,117,0,0,0,3834026
> 0,6,421,118,0,0,0,3834046
> 0,6,421,121,0,0,0,3834076
> 0,6,421,124,0,0,0,3834096
> 0,6,423,132,0,0,0,3834126
> 0,6,427,136,0,0,0,3834146
> 0,6,431,144,0,0,0,3834176
> 0,6,435,150,0,0,0,3834196
> 0,6,439,156,0,0,0,3834226
> 0,6,440,158,0,0,0,3834246
> 0,6,442,164,0,0,0,3834276
> 0,6,442,167,0,0,0,3834296
> 0,6,442,168,0,0,0,3834326
> 0,6,443,169,0,0,0,3834346
> 0,6,443,172,0,0,0,3834376
> 0,6,443,173,0,0,0,3834396
> 0,6,443,175,0,0,0,3834416
> 0,6,443,176,0,0,0,3834456
> 0,6,444,176,0,0,0,3834556
> 0,6,444,177,0,0,0,3834786
> 0,6,444,179,0,0,0,3834816
> 0,6,442,187,0,0,0,3834836
> 0,6,442,197,0,0,0,3834866
> 0,6,442,205,0,0,0,3834886
> 0,6,442,215,0,0,0,3834916
> 0,6,442,223,0,0,0,3834936
> 0,6,442,235,0,0,0,3834966
> 0,6,442,237,0,0,0,3834986
> 0,6,442,240,0,0,0,3835016
> 0,6,442,241,0,0,0,3835036
> 0,6,442,243,0,0,0,3835056
> 0,6,442,245,0,0,0,3835086
> 0,6,442,247,0,0,0,3835106
> 0,6,442,248,0,0,0,3835136
> 0,6,443,249,0,0,0,3835156
> 0,6,443,250,0,0,0,3835576
> 0,6,443,251,0,0,0,3835606
> 0,6,443,252,0,0,0,3835626
> 0,6,445,260,0,0,0,3835656
> 0,6,449,268,0,0,0,3835676
> 0,6,457,284,0,0,0,3835706
> 0,6,471,302,0,0,0,3835726
> 0,6,489,324,0,0,0,3835756
> 0,6,505,346,0,0,0,3835776
> 0,6,523,362,0,0,0,3835806
> 0,6,539,378,0,0,0,3835826
> 0,6,551,394,0,0,0,3835856
> 0,6,563,406,0,0,0,3835876
> 0,6,577,420,0,0,0,3835906
> 0,6,589,434,0,0,0,3835926
> 0,6,603,446,0,0,0,3835956
> 0,6,615,460,0,0,0,3835976
> 0,6,625,470,0,0,0,3836006
> 0,6,633,478,0,0,0,3836026
> 0,6,641,484,0,0,0,3836056
> 0,6,645,490,0,0,0,3836076
> 0,6,651,494,0,0,0,3836106
> 0,6,659,502,0,0,0,3836126
> 0,6,667,508,0,0,0,3836156
> 0,6,675,514,0,0,0,3836176
> 0,6,681,518,0,0,0,3836196
> 0,6,685,524,0,0,0,3836226
> 0,6,686,525,0,0,0,3836246
> 0,6,690,529,0,0,0,3836276
> 0,6,691,531,0,0,0,3836296
> 0,6,697,537,0,0,0,3836326
> 0,6,703,545,0,0,0,3836346
> 0,6,709,549,0,0,0,3836376
> 0,6,713,553,0,0,0,3836396
> 0,6,717,559,0,0,0,3836426
> 0,6,718,559,0,0,0,3836446
>
>
>
>
>
>
> TOUCH.LOG
> ================================================================
>
>
>
> #####        Xnee   ########
> #
> #
> # This file is generated by Xnee and for use by Xnee
> # If you know what you do....  edit it ;)
> #
> #
> # Date:                 2001:04:08
> # Time:                 07:07:34
> # Xnee version:         1.07
> # Xnee home:            http://www.gnu.org/software/xnee/
> # Xnee mail:            address@hidden
> # X version:            11
> # X revision:           0
> # X vendor:             The XFree86 Project, Inc
> # X vendor release:     4002
> # Record version major: 1
> # Record version minor: 13
> # OS name:              Linux
> # OS Release:           2.2.20
> # OS Version:           #52 SMP Tue Jun 17 23:37:35 SGT 2003
> # Machine:              i686
> # Nodename:             SVR2
> # Display name:         127.0.0.1:0
> # Dimension:            800x600
> # Xnee settings
> # -------------
> # all-events:       0
> # everything:       0
> # loops-left :       -1
> # no-expose:        0
> # stop-key:         0,0
> # last-motion:      0
> # first-last:       0
> # out-file:        /opt/dgxnee/event.log
> # err-file:        stderr
> # ProgramName:      xnee
> # Version:          1.07
> # DisplayName:      127.0.0.1:0
> # Nr of recorded data:  -1
> # Record Setting
> #   data_flags          7
> #   rState              134615512
> #   xids[0]             25165824
> #   xids[1]             23068672
> # Number of Ranges      1
> # RecordRange[0]
> #   request-range:           0-0
> #   reply-range:                   0-0
> #   extension-request-major-range:  0-0
> #   extension-request-minor-range:  0-0
> #   extension-reply-major-range:   0-0
> #   extension-reply-minor-range:   0-0
> #   delivered-event-range:         0-0
> #   device-event-range:            6-6
> #   error-range:                   0-0
> 0,6,663,60,0,0,0,3137345906
> 0,6,413,137,0,0,0,3137346916
> 0,6,425,55,0,0,0,3137347736
> 0,6,420,134,0,0,0,3137348226
> 0,6,435,193,0,0,0,3137348756
> 0,6,425,269,0,0,0,3137349236
> 0,6,695,569,0,0,0,3137350016
> 0,6,696,541,0,0,0,3137350866
> 0,6,719,559,0,0,0,3836606
>
>
>
>
>
> Thanks in Advance!!!!  =)







reply via email to

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