{ "id": "141055", "key": "TIMOB-18143", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-05-12T04:46:25.000+0000", "created": "2014-12-05T23:56:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "backgroundimage", "ios", "qe-3.5.0", "qe-4.0.0", "searchbar" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-07T22:16:44.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": "No change is witnessed when attempting to change a searchbar's background image\r\n\r\n*Steps to reproduce issue*:\r\n1. Launch the sample code below\r\n2. Click on \"Click to set image\"\r\n3. Notice that the background of the searchbar is not changed\r\n\r\n*Expected Results*:\r\nThe serchbar background is changed\r\n\r\n*Notes*:\r\nI see the same behavior with 3.4.1.GA and 3.5.0 GA\r\n\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'searchbar with backgroundImage',\r\n\tbackgroundColor : '#fff'\r\n});\r\nvar searchbar = Ti.UI.createSearchBar({\r\n\ttop : 0,\r\n\tshowCancel : true,\r\n\tbackgroundImage : 'KS_nav_ui.png',\r\n\tprompt : 'prompt text',\r\n\theight : 100,\r\n\thintText : \"This is the hint text\",\r\n});\r\nvar btn = Ti.UI.createButton({\r\n\ttop : 200,\r\n\tleft : 10,\r\n\ttitle : 'click to set image',\r\n\theight : 100,\r\n});\r\nbtn.addEventListener('click', function() {\r\n\tsearchbar.backgroundImage = 'KS_nav_views.png';\r\n});\r\nwin.add(searchbar);\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Cannot set searchbar background image", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 4.0.0.v20150210131633\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1 & 6.2b5\r\n\r\nOn: \r\niPhone 6, iOS 8.2b5\r\niPhone 6 Plus, iOS 8.3b\r\niPad Air 2, iOS 8.2b5\r\niPhone 6 Sim, iOS 8.1", "closedSprints": [ { "id": 404, "state": "closed", "name": "2015 Sprint 10 SDK", "startDate": "2015-05-09T00:00:53.391Z", "endDate": "2015-05-23T00:00:00.000Z", "completeDate": "2015-05-25T14:55:16.386Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "347605", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6752", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-27T22:55:38.000+0000", "updated": "2015-03-27T22:55:38.000+0000" }, { "id": "352230", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PR Merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-12T04:46:15.000+0000", "updated": "2015-05-12T04:46:15.000+0000" }, { "id": "357211", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11\r\nStudio 4.1.0.201507061821\r\nTi SDK 4.1.0.v20150706111546\r\nAppc NPM 4.1.0-1\r\nAppc CLI 4.1.0-5\r\nTi CLI 4.0.1\r\nAlloy 1.6.2\r\nNode v0.10.37\r\nJava 1.7.0_45\r\npreproduction\r\n\r\nSearchbar background image is changed.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T22:16:44.000+0000", "updated": "2015-07-07T22:16:44.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }