{ "id": "118236", "key": "TIMOB-14888", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15747", "description": "Release 3.1.4", "name": "Release 3.1.4", "archived": true, "released": false }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-20T21:14:10.000+0000", "created": "2013-08-10T03:16:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "31902", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "119917", "key": "TIMOB-15204", "fields": { "summary": "iOS7: Contents flash during refresh of TableViewRow", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32905", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121680", "key": "TIMOB-15593", "fields": { "summary": "iOS: A Label in a TableViewRow shifts up and down when text is updated", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-29T18:14:13.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Problem*\r\nWith Titanium SDK 3.1.1, the touchmove event is only fired once and then stops once it tries to animate the view being touched. In 3.1.0, the touchmove event is fired repeatedly as expected, so the problem was introduced in 3.1.1.\r\n\r\n*Steps to reproduce*\r\nAdd a view inside of a TableViewRow and add a touchmove event listener with an animation.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor : \"#FFF\"\r\n});\r\n \r\nvar tableview = Ti.UI.createTableView();\r\n \r\nvar tableviewrow = Ti.UI.createTableViewRow({\r\n selectionStyle:Titanium.UI.iPhone.TableViewCellSelectionStyle.NONE\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n backgroundColor : '#ff0',\r\n borderColor:'red',\r\n borderWidth:2\r\n});\r\ntableviewrow.add(view);\r\n \r\nview.addEventListener('touchstart', function() {\r\n Ti.API.info(\"####### touchstart\");\r\n});\r\n \r\nview.addEventListener('touchmove', function(e) {\r\n Ti.API.info(\"touch moved!\");\r\n //view.right = e.x;\r\n \r\n view.animate({\r\n right : e.x,\r\n duration : 20\r\n });\r\n \r\n});\r\n \r\nview.addEventListener('touchend', function() {\r\n Ti.API.info(\"####### touch ended\");\r\n view.right = 0;\r\n});\r\n \r\nview.addEventListener('touchcancel', function() {\r\n Ti.API.info(\"####### touch canceled\");\r\n view.right = 0;\r\n});\r\n \r\ntableview.setData([tableviewrow]);\r\n \r\nwin1.add(tableview);\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "42603", "filename": "app.js", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T20:35:10.000+0000", "size": 14935, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: TableView touchmove only fires once when dragging views in a TableViewRow", "creator": { "name": "neilgupta", "key": "neilgupta", "displayName": "Neil Gupta", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "neilgupta", "key": "neilgupta", "displayName": "Neil Gupta", "active": true, "timeZone": "America/Chicago" }, "environment": "OS X 10.8.4\r\nTi SDK 3.1.1\r\nTested with iOS SDK 6.1 and 7", "comment": { "comments": [ { "id": "266117", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Neil,\r\n\r\nPlease can you provide a simple reproducible test case that we can drop into an app.js and run?\r\n\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T23:37:36.000+0000", "updated": "2013-08-12T23:37:36.000+0000" }, { "id": "266140", "author": { "name": "neilgupta", "key": "neilgupta", "displayName": "Neil Gupta", "active": true, "timeZone": "America/Chicago" }, "body": "Added a reproducible test case of the bug. I realized that the problem is actually related to views that are animating in the touchmove event (such as when creating a swipe to clear todo list app)\r\n\r\n(This code sample also exhibits another bug where the background color of a view disappears when selected in a tableviewrow, but I'm pretty sure I already saw that filed as another ticket.)", "updateAuthor": { "name": "neilgupta", "key": "neilgupta", "displayName": "Neil Gupta", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-13T00:27:57.000+0000", "updated": "2013-08-13T00:27:57.000+0000" }, { "id": "266595", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Neil. Tested and confirmed regression on iOS 6 simulator between 3.1.0 GA and 3.1.1 GA, still occurs on 3.2 CI.\n\nAbout the background color disappearing - on first glance of the bug list I can't see something that describes it, would be great if you could post what you think might be a related ticket. But I'm sure engineering will take a look when they test it anyway.\n\nThanks again.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T00:44:08.000+0000", "updated": "2013-08-15T00:44:08.000+0000" }, { "id": "271837", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "app.js - Test case with related tickets", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T20:35:10.000+0000", "updated": "2013-09-18T20:42:42.000+0000" }, { "id": "271840", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4713\r\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T20:40:43.000+0000", "updated": "2013-09-18T20:40:43.000+0000" }, { "id": "272210", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_1_X\nhttps://github.com/appcelerator/titanium_mobile/pull/4722", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-20T20:43:51.000+0000", "updated": "2013-09-20T20:43:51.000+0000" }, { "id": "276046", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified \"touchmove\" event gets fired more than once when the View is added to a TableViewRow.\n\nTested on:\n\nTitanium Studio, build: 3.2.0.201310181940\nOS: Mac OS X Mountain Lion (10.8.5)\nSDK build: 3.2.0.v20131018154951\nTi CLI: 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f)\nDevices: iphone 4s (6.0.1), iphone 5 (7.0.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T22:47:30.000+0000", "updated": "2013-10-21T22:47:30.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }