{ "id": "61586", "key": "TIMOB-954", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:46.000+0000", "created": "2011-04-15T02:40:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "barcolor", "ios", "iphone", "searchbar" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:46.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}

just check \"Search Bar\" in KitchenSink where barColor is set to\n'#000' but the button has this standard blue.
\nthis happens only in 1.3, in 1.2 the color of the button was\ncorrectly set to the color defined in barColor.
\ntested with Ti developer 1.2.1, mobile sdk 1.3 and SDK 3.1.3 on\nsimulator and device.

{html}", "attachment": [], "flagged": false, "summary": "cancel-button in searchbar has wrong color", "creator": { "name": "markusgerlach", "key": "markusgerlach", "displayName": "Markus Gerlach", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "markusgerlach", "key": "markusgerlach", "displayName": "Markus Gerlach", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124445", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [d5c3df0ed4ebe8ec010f936f8042834620c265f8])\nCloses #954: Workaround for Apple UI bug involving\n'cancel' button on search bar when color is 'nil'. See lighthouse\nfor caveats. \nhttp://github.com/appcelerator/titanium_mobile/commit/d5c3df0ed4ebe...

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

Okay, this is an Apple UI bug. When the color for a searchBar is\n'nil', the cancel button appears with the default color, but it's\nnecessary to have 'nil' to display the bar with UIBarStyleBlack\n(which is needed for transparency).

\n

Short version: Fixed for color 'black', will still not work for\n'transparent'. That's not our fault though.

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