{ "id": "120366", "key": "TIMOB-15319", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15747", "description": "Release 3.1.4", "name": "Release 3.1.4", "archived": true, "released": false }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-02-04T23:53:32.000+0000", "created": "2013-09-23T23:23:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "iOS7", "module_searchbar", "qe-3.2.1", "qe-testadded" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "33976", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "120273", "key": "AC-2233", "fields": { "summary": "SearchBar shows the BACKGROUND image in the FOREGROUND", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-04T23:53:32.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": "h3.Testing Instruction\r\n\r\n1. Paste the following code in app.js\r\n NOTE:Change the link of the backgroundImage to a valid path.\r\n{code}\r\nvar rootwin = Ti.UI.createWindow({\r\n\ttitle:'Search',\r\n\tbackgroundColor:'white'\r\n});\r\nvar win = Ti.UI.createWindow({\r\n\ttitle:'Search',\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar nav = Ti.UI.iPhone.createNavigationGroup({\r\n\twindow:win\r\n});\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\tbackgroundImage:'images/chip.jpg',\r\n\tshowCancel:true,\r\n\theight:43,\r\n\ttop:0\r\n});\r\n\r\nwin.setTitleControl(search);\r\n\r\n// dynamically set value\r\nsearch.value = 'foo';\r\n\r\nrootwin.add(nav);\r\nrootwin.open();\r\n\r\n{code}\r\n\r\n2. run code \r\n\r\nh3.Expected Behavior.\r\n\r\nSearch Bar should show up with backgroundImage properly shown behind the text field. \r\n\r\nh3.Actual Behavior.\r\n\r\nSearch Bar backgroundImage shows on top of text field of search bar. \r\n", "attachment": [], "flagged": false, "summary": "iOS7: searchBar backgroundImage appears on top of searchBar Text field ", "creator": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7 (any sim), Xcode 5", "comment": { "comments": [ { "id": "274189", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4770", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T17:13:17.000+0000", "updated": "2013-10-08T17:13:17.000+0000" }, { "id": "274294", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_1_X\nhttps://github.com/appcelerator/titanium_mobile/pull/4772", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T22:48:14.000+0000", "updated": "2013-10-08T22:48:14.000+0000" }, { "id": "274353", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with environment:\r\n\r\nAppc-Studio: 3.2.0.201310092427\r\nSdk:3.2.0.v20131008154043\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:ipodTouch1(v7.0)\r\nXcode: 5\r\n\r\nSearch bar with backgroundImage is being displayed.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T12:23:26.000+0000", "updated": "2013-10-09T12:23:26.000+0000" }, { "id": "291108", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Image does not appear on iOS device but appears on simulator:\r\nVerified Using:\r\nOS: Mountain Lion 10.8\r\nAppcelerator Studio: 3.2.1.201401311225\r\nSDK:3.2.1.v20140203174850\r\nXcode: 5.0\r\nacs:1.0.12\r\nalloy:1.3.1-cr\r\njake:0.7.6\r\nnpm:1.3.2\r\nnode: 0.10.13\r\ntitanium:3.2.1-beta3\r\ntitanium-code-processor:1.1.0\r\nDevice: ipod touch 2 (7.0.4) and iPhone 5s (v7.0)", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-04T10:52:54.000+0000", "updated": "2014-02-04T10:52:54.000+0000" }, { "id": "291281", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid. NavigationGroup has been removed since SDK 3.2.0. To see the above test case working, use the following app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title:'Search',\r\n backgroundColor:'white'\r\n});\r\n \r\nvar nav = Ti.UI.iOS.createNavigationWindow({\r\n window:win\r\n});\r\n \r\nvar search = Titanium.UI.createSearchBar({\r\n\t// point backgroundImage to a valid image path\r\n backgroundImage:'monkey.jpg',\r\n showCancel:true,\r\n height:43,\r\n top:0\r\n});\r\n \r\nwin.setTitleControl(search);\r\n \r\n// dynamically set value\r\nsearch.value = 'foo';\r\n \r\nnav.open();\r\n{code}\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.2.1.201402041206\r\nSDK build: 3.2.0.GA, 3.2.1.v20140203174850 \r\nCLI: 3.2.1-beta3\r\nAlloy: 1.3.1-cr2\r\nXcode: 5.0.2\r\nDevices: iphone 5s (7.0.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-04T23:51:22.000+0000", "updated": "2014-02-04T23:53:19.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }