{ "id": "61933", "key": "TIMOB-1301", "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": "11237", "name": "Release 1.6.0 M04", "archived": true, "released": true, "releaseDate": "2011-01-10" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:47.000+0000", "created": "2011-04-15T02:48:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "events", "ios", "labels", "release-1.6.0", "touch" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:47.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": "{html}

var win = Ti.UI.currentWindow;

\n

var cell = Ti.UI.createView();

\n

var title = Ti.UI.createLabel({text:'label\n1',touchEnabled:false,height:35,top:0});
\nvar source = Ti.UI.createLabel({text:'label\n1',touchEnabled:false,height:35,top:40});
\nvar excerpt = Ti.UI.createLabel({text:'label\n1',touchEnabled:false,height:35,top:80});

\n

cell.add(title);
\ncell.add(source);
\ncell.add(excerpt);

\n

cell.addEventListener('swipe', function(e){

\n
\nTi.API.log(e.source);\n
\n

});

\n

title.addEventListener('touchstart',function(e){

\n
\nTi.API.log('title was touched');\n
\n

});

\n

win.add(cell);

\n

when run on our latest HEAD on OS 4 the labels still receive\ntouch events.

{html}", "attachment": [], "flagged": false, "summary": "Labels do not honor touchEnabled false", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125274", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Fixed but not checking in until 1.4 drops. We're in code freeze\nand this is a minor bug.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:51.000+0000", "updated": "2011-04-15T02:48:51.000+0000" }, { "id": "125275", "author": { "name": "zabramny(atgmail)", "key": "zabramny(atgmail)", "displayName": "zabramny (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is there a quick workaround that I could use in the meantime in\n1.4? This is something I really need. Thanks.

{html}", "updateAuthor": { "name": "zabramny(atgmail)", "key": "zabramny(atgmail)", "displayName": "zabramny (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:51.000+0000", "updated": "2011-04-15T02:48:51.000+0000" }, { "id": "125276", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This will hopefully be fixed by the end of the day. I believe I\nhave the change stashed for post-1.4.0 commit; I will find it and\ntest this afternoon if it exists. Otherwise there is no workaround\nat this time.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:51.000+0000", "updated": "2011-04-15T02:48:51.000+0000" }, { "id": "125277", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is one workaround: Check the source of your event. If it's\ncoming from a label, just don't do any event processing for it.\nThis one is going to take some time as it requires work on the\nentire event propagation system.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:51.000+0000", "updated": "2011-04-15T02:48:51.000+0000" }, { "id": "125278", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [9cfa37a1d20203f571577acdb9e27c85ad2d2829])\n[#1301 state:resolved] UI elements now both\nrespect default interaction enabling and touchEnabled property.\n\nhttp://github.com/appcelerator/titanium_mobile/commit/9cfa37a1d2020...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:52.000+0000", "updated": "2011-04-15T02:48:52.000+0000" }, { "id": "125279", "author": { "name": "panman", "key": "panman", "displayName": "PanMan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Has this been fixed in the current 1.4.1.1 or only in a later,\nnot yet released, version?
\nI disagree this being a minor bug: Without this it's not possible\nto add different pieces of text on a button, which is needed in my\ndesign.

{html}", "updateAuthor": { "name": "panman", "key": "panman", "displayName": "PanMan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:52.000+0000", "updated": "2011-04-15T02:48:52.000+0000" }, { "id": "125280", "author": { "name": "richardvenneman", "key": "richardvenneman", "displayName": "Richard Venneman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This was working in 1.4.1.1 but with the official 1.4.2 release\nit broke again.
\nAs PanMan says, this can be an important design issue and the\nactive state won't be visible either.

\n

I also tried a 1.5 continuous build but with that my labels\nwon't show at all..

{html}", "updateAuthor": { "name": "richardvenneman", "key": "richardvenneman", "displayName": "Richard Venneman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:52.000+0000", "updated": "2011-04-15T02:48:52.000+0000" }, { "id": "125281", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Reopening. Unlikely to be resolved before 1.5.0 because we\nalready have a roadmap.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:52.000+0000", "updated": "2011-04-15T02:48:52.000+0000" }, { "id": "125282", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Surprise shocker of the season: Was not resolved for 1.5.0\nbecause we already had a roadmap.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:53.000+0000", "updated": "2011-04-15T02:48:53.000+0000" }, { "id": "125283", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

May already be resolved (issue between\nHEAD/1.4.2==1.4.1+TiCore). Investigate.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:53.000+0000", "updated": "2011-04-15T02:48:53.000+0000" }, { "id": "125284", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Re-marking resolved. Was fixed in 1.5.0; re-opening was because\nof the 1.4.2==1.4.1+TiCore problem.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:48:53.000+0000", "updated": "2011-04-15T02:48:53.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }