{ "id": "120273", "key": "AC-2233", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-12-23T03:02:15.000+0000", "created": "2013-09-20T19:23:37.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "33976", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "120366", "key": "TIMOB-15319", "fields": { "summary": "iOS7: searchBar backgroundImage appears on top of searchBar Text field ", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:14.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I set the backgroundImage in the Ti.UI.createSearchBar() call, the image shows ABOVE the text box.", "attachment": [], "flagged": false, "summary": "SearchBar shows the BACKGROUND image in the FOREGROUND", "creator": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium CLI version 3.1.2\r\nTitanium SDK version 3.1.3.GA\r\niOS7", "comment": { "comments": [ { "id": "272428", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nPlease send your test case and test code, that we can reproduce this bug.\r\n\r\nThanks \r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-23T06:03:02.000+0000", "updated": "2013-09-23T06:03:02.000+0000" }, { "id": "272510", "author": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "app.js:\n======\n\nvar win = Ti.UI.createWindow();\nvar srch = Ti.UI.createSearchBar({\n\t// backgroundImage: 'red.png'\n});\n\nwin.add(srch);\nwin.open();\n\n/*\n0) Create a 720x49 image filled with red. Save it as red.png in the Resources folder\n1) Run the app; you should see the searchbar.\n2) Uncomment the backgroundImage line and run the app.\n\nDo you see the problem? Make sure the environment is correct. I see this issue in iOS simulator. Haven't tried running on the phone.\n*/\n", "updateAuthor": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T17:46:27.000+0000", "updated": "2013-09-23T17:46:27.000+0000" }, { "id": "282795", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shossain] I can reproduce this problem with 3.1.3 GA SDK. Following sample code shows that the background image works correctly with a Text Field but not with Search Bar.\n\nvar win = Ti.UI.createWindow();\n\n/* Setting backgroundImage on TextField works perfectly \nvar srch = Ti.UI.createTextField({\nbackgroundImage: 'red.png'\n});\n*/\n\n/* Setting backgroundImage on SearchBar acts as Foreground image and you cannot see what you type */\nvar srch = Ti.UI.createSearchBar({\nbackgroundImage: 'red.png'\n});\n\nwin.add(srch);\nwin.open();\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T05:11:09.000+0000", "updated": "2013-12-06T05:11:09.000+0000" }, { "id": "285609", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for reporting this issue. This issue has been resolved as part of ticket TIMOB-15319 with 3.2.0 GA release. I would recommend you to upgrade to 3.2.0 release to get this fix as well as number of other new features, improvements and bug fixes in this release.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-23T03:02:02.000+0000", "updated": "2013-12-23T03:02:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }