Hello,

I have a question regarding the following problem that I'm having between mouse area and multitouch area. The problem that I'm having
is that mouse area does not detect the onClicked. There is a mouseEnabled property that allows you to handle mouse events(if true) or
allow pass through of the events so that they can be handled by other items underneath(if false). This pass through isn't working in my
situation.

Does anybody have an idea why the multitouch area does not propegate the events to the mouse area.

Thank you in advance for the help.

Qml code(main.qml):
Qt Code:
  1. Window {
  2.  
  3. id: mainWindow
  4.  
  5. width: 1024
  6. height: 768
  7. minimumWidth: width
  8. minimumHeight: height
  9. maximumWidth: width
  10. maximumHeight: height
  11.  
  12. MouseArea {
  13. anchors.fill: parent
  14. onClicked: {
  15. console.log(mouse.x)
  16. }
  17. }
  18.  
  19. MultiPointTouchArea {
  20. anchors.fill: parent
  21. mouseEnabled: false
  22.  
  23. onTouchUpdated: {
  24. console.log("onTouchUpdated")
  25. }
  26.  
  27. onPressed: {
  28. console.log("onPressed")
  29. }
  30.  
  31. onReleased: {
  32. console.log("onReleased")
  33. }
  34.  
  35. onUpdated: {
  36. console.log("onUpdated")
  37. }
  38.  
  39. minimumTouchPoints: 2
  40. maximumTouchPoints: 2
  41.  
  42. touchPoints: [
  43. TouchPoint { id: point1 },
  44. TouchPoint { id: point2 }
  45. ]
  46. }
  47. }
To copy to clipboard, switch view to plain text mode