{ "id": "62563", "key": "TIMOB-1931", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:34.000+0000", "created": "2011-04-15T03:05:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "switch" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:34.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Titanium SDK version: 1.4.2 (09/27/10 10:22 30a188)
\nAndroid SDK: 2.1 APIs

\n

In my app or even KitchenSink, when clicking on a switch nothing\nhappens (visually or programmatically). Only when I do the\nfollowing to it does it begin working properly:

\n

mySwitch.addEventListener('click', function() {});

{html}", "attachment": [], "flagged": false, "summary": "Android: Switch not clickable", "creator": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "matthewlieder", "key": "matthewlieder", "displayName": "Matthew Lieder", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127030", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [d074f62eaf9b76a99f7bf6684dfb8e918f4aad42])\n[#951\nstate:fixed-in-qa][#1931 state:fixed-in-qa][#1934\nstate:fixed-in-qa][#1937 state:fixed-in-qa][#1939\nstate:fixed-in-qa][#1940 state:fixed-in-qa] Fixing regression where\nkeying off of presence of 'click' handler broke the expectation\nthat views are touchable by default. Added support for\ntouchEnabled. If touchEnabled is false, click proceeds through all\nviews until one that handles click and is located under the touch\npoint is found. Several of these defects were side-effects\nattributable to clickability. \nhttp://github.com/appcelerator/titanium_mobile/commit/d074f62eaf9b7...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:58.000+0000", "updated": "2011-04-15T03:05:58.000+0000" }, { "id": "127031", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.4.2.4ce7ff G1 running 1.6, 2.2 simulator

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:59.000+0000", "updated": "2011-04-15T03:05:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }