{ "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;
\nvar cell = Ti.UI.createView();
\nvar 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});
cell.add(title);
\ncell.add(source);
\ncell.add(excerpt);
cell.addEventListener('swipe', function(e){
\nTi.API.log(e.source);
\n
\n});
\ntitle.addEventListener('touchstart',function(e){
\nTi.API.log('title was touched');
\n
\n});
\nwin.add(cell);
\nwhen run on our latest HEAD on OS 4 the labels still receive\ntouch events.
Fixed but not checking in until 1.4 drops. We're in code freeze\nand this is a minor bug.
Is there a quick workaround that I could use in the meantime in\n1.4? This is something I really need. Thanks.
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.
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.
(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...
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.
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.
I also tried a 1.5 continuous build but with that my labels\nwon't show at all..
Reopening. Unlikely to be resolved before 1.5.0 because we\nalready have a roadmap.
Surprise shocker of the season: Was not resolved for 1.5.0\nbecause we already had a roadmap.
May already be resolved (issue between\nHEAD/1.4.2==1.4.1+TiCore). Investigate.
Re-marking resolved. Was fixed in 1.5.0; re-opening was because\nof the 1.4.2==1.4.1+TiCore problem.