{ "id": "93523", "key": "TIMOB-9657", "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": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-11T11:48:55.000+0000", "created": "2012-06-20T07:38:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T18:49:32.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": "The swipe event on tableview does not fire when the width of the view which contains the tableview is a certain value i.e. 19% or 20%. Checked on few other random width values like 15%,18%, 21%, 25%, 30% on which the event gets fired.\r\nThe issue occurs only on iPAD and not on iPhone.\r\n\r\nThe issue occurs since 2.0.1.\r\n\r\nStep to Reproduce:\r\n1. Create an application with the code below and launch the application\r\n2. Swipe on the left view (blue color) which is a tableview\r\n\r\nActual: The swipe event is not fired. After the device is rotated, the swipe event gets fired on the same tableview.\r\n\r\nExpected: The swipe event should fire for all width of the tableview.\r\n\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar tv = Ti.UI.createTableView({\r\n\tbackgroundColor: 'blue'\r\n});\r\nvar leftview=Ti.UI.createView({\r\n\tleft: 0, top: 0,\r\n\theight: 200,\r\n\twidth: '20%',\r\n\tbackgroundColor: 'blue'\t\r\n});\r\nleftview.add(tv);\r\nvar rightview=Ti.UI.createView({\r\n\tleft: '20%',\r\n\ttop: 0,\r\n\theight: 200,\r\n\twidth: '100%',\r\n\tbackgroundColor: 'red'\t\r\n});\r\nleftview.addEventListener(\"swipe\", function(){\r\n\talert(\"swipe\")\r\n});\r\nwin.add(leftview);\r\nwin.add(rightview);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TableView: Swipe event not fired when the view is of certain width", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.0.201206172244\r\nTitanium SDK: 2.1.0.v20120619164153\r\nDevice: iPad2(V5.1)", "comment": { "comments": [ { "id": "247050", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPad Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T11:48:55.000+0000", "updated": "2013-04-11T11:50:21.000+0000" }, { "id": "251263", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue is not reproducible\r\n\r\nVerified on:\r\nDevice : iPad 2, iOS version: 5.1\r\nSDK: 3.1.1.v20130509173053\r\nCLI version : 3.1.0\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.0.201305092424\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-10T10:06:06.000+0000", "updated": "2013-05-10T10:06:06.000+0000" }, { "id": "258727", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces\n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPad Simulator: iOS SDK version: 5.1 also", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T12:41:49.000+0000", "updated": "2013-06-20T12:41:49.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }