On Thu, Sep 26, 2013 at 01:24:59PM +0000, Duan Fugang-B38611 wrote:
> From: Eric Bénard [mailto:e...@eukrea.com]
> Data: Thursday, September 26, 2013 5:46 PM
> 
> > To: Duan Fugang-B38611
> > Cc: Burton, Ross; meta-freescale@yoctoproject.org; peter.hutterer@who-
> > t.net; Rutledge Shawn
> > Subject: Re: [meta-freescale] Yacto rootfs: multi-touch message cannot
> > handled by "close" button
> > 
> > Hi Duan,
> > 
> > Le Thu, 26 Sep 2013 09:25:12 +0000,
> > Duan Fugang-B38611 <b38...@freescale.com> a écrit :
> > > There have some xorg log: (Which shows the touch can be recognized by
> > evdev)
> > >
> > Ross asked you to launch xev from your console and touch the screen in
> > the xev window so that you can provide xev's log to understand your
> > problem.
> > 
> > More info about xev :
> > http://manpages.ubuntu.com/manpages/hardy/man1/xev.1.html
> > 
> > Eric
> 
> I had sent out the test result as the previous email as attached mail.
> 
> Thanks,
> Andy

> Date: Thu, 26 Sep 2013 09:19:12 +0000
> From: Duan Fugang-B38611 <b38...@freescale.com>
> To: "Burton, Ross" <ross.bur...@intel.com>
> CC: "peter.hutte...@who-t.net" <peter.hutte...@who-t.net>, Rutledge Shawn
>  <shawn.rutle...@digia.com>, "meta-freescale@yoctoproject.org"
>  <meta-freescale@yoctoproject.org>
> Subject: RE: Yacto rootfs: multi-touch message cannot handled by "close"
>  button
> 
> From: Burton, Ross [mailto:ross.bur...@intel.com]
> Data: Thursday, September 26, 2013 4:51 PM
> 
> > To: Duan Fugang-B38611
> > Cc: peter.hutte...@who-t.net; Rutledge Shawn; meta-
> > freesc...@yoctoproject.org
> > Subject: Re: Yacto rootfs: multi-touch message cannot handled by
> > "close" button
> >
> > On 26 September 2013 09:46, Duan Fugang-B38611 <b38...@freescale.com>
> > wrote:
> > > Ross, thanks for your quick response.
> > >
> > > Why the touch can be recognized in the single  touch mode ? Since the
> > > driver is similar the same except report event types.
> > >
> > > And, how to validate whether the touch can be recognized ?
> >
> > I don't know why it can't be recognised in multitouch, and unless you
> > send me your hardware I can't tell you.  That's what we're attempting
> > to debug over email.
> >
> My hardware:
> Board: Imx6q sabresd
> Touchscreen: hannStar display with egalax i2c touchscreen
> 
> 
> > As far as xev is concerned there should be zero difference between
> > using a mouse to click in the window, and using the touchscreen.  Try
> > all combinations of pressing/clicking in the xev window, and report
> > back.
> >
> > Ross
> 
> For EGALAX MULTI TOUCH:
> o       When click the “X” icon to close window,  the window cannot be 
> closed, and print the log: (picture #1)
>         LeaveNotify event, serial 28, synthetic NO, window 0x1000001,
>         root 0xc2, subw 0x0, time 347181500, (981,-34), root:(981,14),
>         mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
>         focus YES, state 0
> 
> o       When click the control bar: (picture #2)
>         LeaveNotify event, serial 28, synthetic NO, window 0x1000001,
>         root 0xc2, subw 0x0, time 348522728, (375,-26), root:(375,22),
>         mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
>         focus YES, state 0
> 
> o       When click the blank region: (picture #3)
>         MotionNotify event, serial 28, synthetic NO, window 0x1000001,
>         root 0xc2, subw 0x0, time 348582340, (289,92), root:(289,140),
>         state 0x0, is_hint 0, same_screen YES
> 
>         ButtonPress event, serial 28, synthetic NO, window 0x1000001,
>         root 0xc2, subw 0x0, time 348582340, (289,92), root:(289,140),
>         state 0x100, button 1, same_screen YES
> 
>         ButtonRelease event, serial 28, synthetic NO, window 0x1000001,
>         root 0xc2, subw 0x0, time 348582619, (289,92), root:(289,140),
>         state 0x100, button 1, same_screen YES
> 
> o       When click the other icons on the control bar, work fine and there 
> have sub-window pop: (picture #4)
>         FocusOut event, serial 28, synthetic NO, window 0x1000001,
>         mode NotifyGrab, detail NotifyNonlinear
> 
>         VisibilityNotify event, serial 28, synthetic NO, window 0x1000001,
>         state VisibilityPartiallyObscured
> 
> All other operations are right, only clicking "X" icon cannot close the 
> windows.

xev only listens to windows in the white area. the window decorations are
provided by the window manager, which should also handle the event on the
close button. if your WM is QT based, maybe QT has some debugging options
you can enable? I'm not sure off-heart.

you can also look into hooking up systemtap do debug which events are
actually sent by the server, this should at least give you a hint of what
the server does and where the problem lies.

Cheers,
   Peter
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to