From what I can determine this was introduced in a recent daily build. I noticed this on 2550, so then attempted the latest build 2562
Basically when multitouch is enabled, event.xStart and event.yStart are 0 when event.phase is “ended”
When you remove multitouch, xStart and yStart correctly reflect the touch start position
this only happens on device on the iPhone 6 and 6 plus, although it may be on other devices I haven’t tested.
Does not happen in the Corona simulator, iOS simulator (8.1), iPads (various from 7 to 8.1.3)
also does not happen on any android devices or the android simulator
[lua]
system.activate( “multitouch” )
local box = display.newRect(display.contentCenterX,display.contentCenterY,100,100)
local p = display.newText(
{ text = “touch the square”,
x = 150,
y = 100,
width = 300,
font = native.systemFontBold,
fontSize = 14
}
)
function btouch( e )
p.text = "phase: " … e.phase … ", xStart: " … e.xStart … ", x: " … e.x … ", yStart: " … e.yStart … ", y: " … e.y
end
box:setFillColor(1,0,0)
box:addEventListener(“touch”,btouch)
[/lua]