{ "id": "121241", "key": "TIMOB-15494", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-18T07:03:04.000+0000", "created": "2013-10-15T22:33:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-18T07:03:04.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": null, "attachment": [ { "id": "43284", "filename": "background_gradient.PNG", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-18T07:02:35.000+0000", "size": 107492, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: List View backgroundGradient and selectedBackgroundGradient not working", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "275204", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case \n{code}\nvar win = Ti.UI.createWindow({backgroundColor: 'white', fullscreen: true});\n\nvar search = Titanium.UI.createSearchBar({\n barColor:'#000', \n showCancel:true,\n height:43,\n top:0,\n});\nsearch.addEventListener('cancel', function(){\n search.blur();\n});\nsearch.addEventListener('change', function(e){\n listView.searchText = e.value;\n});\n\nvar listView = Ti.UI.createListView({headerView:search});\n\nvar listSection = Ti.UI.createListSection();\n\nvar fruits = ['Papaya', 'Peach', 'Pear', 'Persimmon', 'Pineapple', 'Pluot', 'Pomegranate'];\n\nvar gradient = {\n colors: [ { color: 'red', offset: 0.0}, { color: 'blue', offset: 0.5 }, { color: 'red', offset: 1.0 } ],\n type: 'linear'\n};\nvar gradient2 = {\n colors: [ { color: 'purple', offset: 0.0}, { color: 'yellow', offset: 0.5 }, { color: 'purple', offset: 1.0 } ],\n type: 'linear'\n};\n\nvar data = [];\nfor (var i = 0; i < fruits.length; i++) {\n data.push({\n properties: {\n title: fruits[i],\n searchableText: fruits[i],\n backgroundGradient: gradient,\n selectedBackgroundGradient: gradient2\n }\n });\n}\n\nlistSection.setItems(data);\nlistView.sections = [listSection];\nwin.add(listView);\n\n\nvar view = Ti.UI.createView({\n backgroundGradient: gradient,\n width: 100,\n height: 100,\n bottom: 0,\n left: 0\n});\nvar view2 = Ti.UI.createView({\n backgroundGradient: gradient2,\n width: 100,\n height: 100,\n bottom: 0,\n right: 0\n});\nwin.add(view);\nwin.add(view2);\nwin.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-15T22:34:02.000+0000", "updated": "2013-10-15T22:34:02.000+0000" }, { "id": "275205", "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/4792", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-15T22:35:19.000+0000", "updated": "2013-10-15T22:35:19.000+0000" }, { "id": "275590", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "backgroundGradient and selectedBackgroundGradient are working fine.\r\n\r\nVerified fix on:\r\nDevice : iPhone 5 , iOS version : 7.0\r\nSDK: 3.2.0.v20131016191202\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310170829\r\nXCode : 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-18T06:56:51.000+0000", "updated": "2013-10-18T06:56:51.000+0000" }, { "id": "275591", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopened to add screenshot", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-18T07:00:34.000+0000", "updated": "2013-10-18T07:00:34.000+0000" }, { "id": "275592", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Added backgroundGradient.png. Its working fine.", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-18T07:02:35.000+0000", "updated": "2013-10-18T07:02:35.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }