{ "id": "60952", "key": "TIMOB-320", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:27:16.000+0000", "created": "2011-04-15T02:27:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "color", "custom", "defect", "groupedview", "ios", "iphone", "selected", "tableview", "text" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:12:35.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}

When templates are specified for TableViews and GroupedViews,\nthe default selected text color for row elements breaks.

\n

It should be white for the duration of the window animation but\ninstead is shown as black.

\n

The problem can be reproduced by changing the TableView in\nui.html in KitchenSink to include a basic template:

\n
\n    // tableview object\n    var tableView = Titanium.UI.createTableView({template:{layout:[{type:'text', name:'title'}]},data:data,title:'UI API',isPrimary:true}, function(eventObject)\n    ...\n
\n

If a touch is held down on a row, the correct selected text\ncolor of white is shown, but as soon as the touch is released the\ntext color turns black. If the touch is not held down, no white\ntext is seen at all.

\n

The expected result is the same as what happens if no template\nis specified - i.e. the selected text color remains white for the\nduration of the selection or window animation.

\n

\nhttp://support.appcelerator.net/discussions/titanium-mobile-discuss...

{html}", "attachment": [], "flagged": false, "summary": "iPhone: Defect in selected text color on custom TableView and GroupedView", "creator": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123105", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Changes to the codebase have since made this moot.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:16.000+0000", "updated": "2011-04-15T02:27:16.000+0000" }, { "id": "410514", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:12:35.000+0000", "updated": "2017-03-09T21:12:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }