All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Hutterer <peter.hutterer@who-t.net>
To: Duan Fugang-B38611 <B38611@freescale.com>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Rutledge Shawn <Shawn.Rutledge@digia.com>,
	"Burton, Ross" <ross.burton@intel.com>
Subject: Re: Yacto rootfs: multi-touch message cannot handled by "close" button
Date: Mon, 30 Sep 2013 11:14:19 +1000	[thread overview]
Message-ID: <20130930011419.GA31652@yabbi> (raw)
In-Reply-To: <9848F2DB572E5649BA045B288BE08FBE0170B994@039-SN2MPN1-022.039d.mgd.msft.net>

On Thu, Sep 26, 2013 at 01:24:59PM +0000, Duan Fugang-B38611 wrote:
> From: Eric Bénard [mailto:eric@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 <B38611@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 <B38611@freescale.com>
> To: "Burton, Ross" <ross.burton@intel.com>
> CC: "peter.hutterer@who-t.net" <peter.hutterer@who-t.net>, Rutledge Shawn
>  <Shawn.Rutledge@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.burton@intel.com]
> Data: Thursday, September 26, 2013 4:51 PM
> 
> > To: Duan Fugang-B38611
> > Cc: peter.hutterer@who-t.net; Rutledge Shawn; meta-
> > freescale@yoctoproject.org
> > Subject: Re: Yacto rootfs: multi-touch message cannot handled by
> > "close" button
> >
> > On 26 September 2013 09:46, Duan Fugang-B38611 <B38611@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


  parent reply	other threads:[~2013-09-30  1:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26  8:21 Yacto rootfs: multi-touch message cannot handled by "close" button Duan Fugang-B38611
2013-09-26  8:25 ` Burton, Ross
2013-09-26  8:46   ` Duan Fugang-B38611
2013-09-26  8:51     ` Burton, Ross
2013-09-26  9:19       ` Duan Fugang-B38611
2013-09-26  9:25       ` Duan Fugang-B38611
2013-09-26  9:45         ` Eric Bénard
2013-09-26 13:24           ` Duan Fugang-B38611
2013-09-26 13:31             ` Eric Bénard
2013-09-26 13:33               ` Duan Fugang-B38611
2013-09-26 15:57                 ` Eric Bénard
2013-09-30  1:14             ` Peter Hutterer [this message]
2013-09-30  2:33               ` Duan Fugang-B38611
2013-09-27  1:57       ` Duan Fugang-B38611
  -- strict thread matches above, loose matches on Subject: below --
2013-09-13  8:03 Duan Fugang-B38611
2013-09-13  8:03 Duan Fugang-B38611
2013-09-13  8:02 Duan Fugang-B38611
2013-09-14 14:12 ` Daiane Angolini
2013-09-16  4:31   ` Duan Fugang-B38611
2013-09-16 11:25     ` Daiane Angolini
2013-09-17  3:23       ` Duan Fugang-B38611
2013-09-16 16:31     ` Otavio Salvador
2013-09-17  1:46       ` Duan Fugang-B38611
2013-09-17  9:41         ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130930011419.GA31652@yabbi \
    --to=peter.hutterer@who-t.net \
    --cc=B38611@freescale.com \
    --cc=Shawn.Rutledge@digia.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.