{ "id": "89229", "key": "TIMOB-8476", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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-17T10:15:41.000+0000", "created": "2012-03-30T07:05:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:35:16.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": "I created a switch in my code and whenever I define a left value while the switch is inside a view (with no left defined) and then inside another view (with a left defined) the switch will no longer receive events. So I cannot change the value of the switch by clicking/touching it. Here's the simplest case that reproduced the problem for me:\r\nvar outerView = Titanium.UI.createView({});\r\ncurrentWindow.add(outerView);\r\n\r\nvar innerView = Titanium.UI.createView({\r\n\tleft: 155\r\n});\r\nouterView.add(innerView);\r\n\r\nvar onOffSwitch = Titanium.UI.createSwitch({\r\n\tleft: 60,\r\n\tvalue: true\r\n});\r\ninnerView.add(onOffSwitch);", "attachment": [], "flagged": false, "summary": "iOS: Defining a left value for a Ti.UI.createSwitch makes the switch not respond to events", "creator": { "name": "wyman036", "key": "wyman036", "displayName": "Matt Wyman", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wyman036", "key": "wyman036", "displayName": "Matt Wyman", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX Lion, iphone (non retina) simulator", "comment": { "comments": [ { "id": "247914", "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 iPhone Simulator: iOS SDK version: 6.0\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T10:15:41.000+0000", "updated": "2013-04-17T10:15:41.000+0000" }, { "id": "413559", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:35:16.000+0000", "updated": "2017-03-17T18:35:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }