Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7555] iOS: Titanium.UI.Button: touchmove event fails to fire

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-27T09:55:46.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0.1, Release 2.0.0, Release 1.8.1
Fix Version/sSprint 2012-04, Release 2.0.0
ComponentsiOS
Labelsmodule_button, parity, qe-testadded
ReporterDustin Hyde
AssigneeMax Stepanov
Created2012-02-06T14:26:55.000+0000
Updated2012-03-27T09:55:46.000+0000

Description

Button touchmove event fails to fire. Steps to Reproduce: 1. Run code.
var win = Ti.UI.createWindow({backgroundColor:'white'});
var button = Ti.UI.createButton({width:'200',height:'200'});
button.addEventListener('touchmove',function(){
	Ti.API.info('touchmove fired');
});
button.addEventListener('touchstart',function(){
	Ti.API.info('touchstart fired');
});
button.addEventListener('touchend',function(){
	Ti.API.info('touchend fired');
});
button.addEventListener('touchcancel',function(){
	Ti.API.info('touchcancel fired');
});
button.addEventListener('click',function(){
	Ti.API.info('click fired');
});
button.addEventListener('dblclick',function(){
	Ti.API.info('dblclick fired');
});

win.add(button);
win.open();
2. Press button, move, and release. Expected Result: Console should output three event types: 'touchstart', 'touchmove', 'touchend'. Actual Result: No 'touchmove' is printed.

Comments

  1. Stephen Tramer 2012-02-14

    Unless this is a regression we may wish to consider this bug invalid.
  2. Dustin Hyde 2012-02-28

    Closing as Fixed. SDK: 2.0.0.v20120228094643 Studio: 1.0.9.201202141208 OS: Snow Leopard Devices Tested: iPod 4.3.3, iPhone4 4.3.5, iPhone Simulator 5.0, iPad2 5.0.1

JSON Source