Re: [Development] Touch not working with QtQuick1 (event handling issue in QGraphicsView)

2013-03-13 Thread Sorvig Morten
On Mar 12, 2013, at 3:31 PM, Frank Osterfeld frank.osterf...@kdab.com wrote: I tested with simple Hello-World style examples containing mouse areas reacting to onClicked. Do you have anything else I should test specifically? The demo is at https://github.com/msorvig/quick1cinematic . What

Re: [Development] Touch not working with QtQuick1 (event handling issue in QGraphicsView)

2013-03-12 Thread Sorvig Morten
On Mar 11, 2013, at 2:44 PM, Frank Osterfeld frank.osterf...@kdab.com wrote: Hi, I see two ways to fix it, one is a one-liner, one's more work: * Don't silently accept touch events if no item is waiting for them. Ignoring the events triggers the touch-mouse fallback. That's the approach

Re: [Development] Touch not working with QtQuick1 (event handling issue in QGraphicsView)

2013-03-12 Thread Frank Osterfeld
On Mar 12, 2013, at 2:01 PM, Sorvig Morten wrote: On Mar 11, 2013, at 2:44 PM, Frank Osterfeld frank.osterf...@kdab.com wrote: Hi, I see two ways to fix it, one is a one-liner, one's more work: * Don't silently accept touch events if no item is waiting for them. Ignoring the events

[Development] Touch not working with QtQuick1 (event handling issue in QGraphicsView)

2013-03-11 Thread Frank Osterfeld
Hi, I'm debugging a major issue with QtQuick1 I'm seeing with both 5.0.0 and the current stable branch: Touch events don't work with QtQuick1's MouseArea element. As QtQuick1 items don't handle touch directly, they they rely on on the touch-mouse fallback in QApplication which creates mouse