[Development] need to handle touch events rather than depending on mouse event synthesis

Shawn Rutledge shawn.rutledge at nokia.com
Thu Mar 15 10:43:41 CET 2012


> >Torsdag 1. mars 2012 19.48.15 skrev ext Alan Alpert:
> > Perhaps we could just add an enum to MouseArea? EventType { MouseEvents,
> > TouchEvents, MouseAndTouchEvents (default) }. That allow you more
> > fine-grained control, with identical default behavior that doesn't require
> > event synthesis that messes with other elements. Not to mention that the
> > common case is you don't care what pointy thing they used to say 'do
> > that',
> > there are devices with both mouse and touch and often the app really
> > doesn't care which it was.
> 
> I agree. I think this is the best solution given the deadline.
> It will not break any apps and we can get rid of this event synthesis for
> good. Is there anybody already working on this fix?
> 
> Br,
> Adriano

Yes, so far I just got the MouseArea to handle the touch events.  Now I need 
to disable all the other places where synthesis is done, and do lots of 
testing.  And then I can see about that enum property.

-- 
MVH, Shawn Rutledge ❖ "ecloud" on IRC



More information about the Development mailing list