{ "id": "83047", "key": "TIMOB-6867", "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": null, "resolutiondate": null, "created": "2011-11-23T07:03:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" } ], "issuelinks": [ { "id": "14362", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63302", "key": "TIMOB-2670", "fields": { "summary": "iOS:UI - searchBar barColor property not supported", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-18T22:38:13.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h2. Problem\r\n\r\nThe TableView searchBar doesn't have a default barColor in iOS 4.3, although it does in iOS 5.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title: 'title',\r\n tabBarHidden: true\r\n});\r\n\r\nvar tab = Titanium.UI.createTab({\r\n window: win\r\n});\r\ntabGroup.addTab(tab); \r\ntabGroup.open();\r\n\r\nvar searchBar = Ti.UI.createSearchBar();\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tsearch: searchBar\r\n});\r\n\r\nwin.add(table);\r\n{code}", "attachment": [ { "id": "24309", "filename": "4.3.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-11-23T07:03:49.000+0000", "size": 151454, "mimeType": "image/png" }, { "id": "24310", "filename": "5.0.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-11-23T07:03:49.000+0000", "size": 151654, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: UI - TableView searchBar does not have default barColor", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": "* Titanium SDK version: 1.7.5\r\n* Platform & version: iOS 4.3\r\n* Device Details: iPad simulator / device\r\n* Host Operating System: Mac OS X 10.7.2\r\n* Titanium Studio version: 1.0.6.201110251616", "comment": { "comments": [ { "id": "177198", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Sindre\r\n\r\nThank you for raising this ticket. While it is very well formed, the test case could be improved by using a simple window rather than tabs.\r\n\r\nAs each ticket must be limited to a single issue, I have removed the part about the missing barColor property. That said, there is an existing ticket relating to it at TIMOB-2670\r\n\r\nI will move this to the main project now.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-26T10:32:09.000+0000", "updated": "2011-12-26T10:32:09.000+0000" }, { "id": "177219", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "Can't really do that, since the problem isn't apparent when using just a window:\r\n\r\n{code:language=JavaScript}\r\nvar win = Ti.UI.createWindow();\r\nwin.add(Ti.UI.createTableView({\r\n search: Ti.UI.createSearchBar()\r\n}));\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-12-26T15:30:12.000+0000", "updated": "2011-12-26T15:30:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }