{ "id": "119240", "key": "TIMOB-14997", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-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-09-03T20:44:17.000+0000", "created": "2013-08-29T10:12:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "backgroundGradient", "ios7", "tableviewrow" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "31864", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119898", "key": "TIMOB-15157", "fields": { "summary": "iOS7:Table row background gradient covers 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" } }, "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-13T23:27: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": "In iOS7, `text` or `subviews` within tableViewRow if we use the `bacgroundgradient` property for a TableViewRow. It appears only the moment when we click on a row. Here is the test case:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tobjName : 'table'\r\n});\r\nvar data = [];\r\n\r\nfor (var i = 0; i <= 20; i++) {\r\n\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\tclassName : 'row',\r\n\t\tobjName : 'row',\r\n\t\ttouchEnabled : true,\r\n\t\theight : 100,\r\n\r\n\t\tbackgroundGradient : {\r\n\t\t\ttype : 'linear',\r\n\t\t\tstartPoint : {\r\n\t\t\t\tx : '100%',\r\n\t\t\t\ty : '0%'\r\n\t\t\t},\r\n\t\t\tendPoint : {\r\n\t\t\t\tx : '100%',\r\n\t\t\t\ty : '100%'\r\n\t\t\t},\r\n\t\t\tcolors : [{\r\n\t\t\t\tcolor : 'white',\r\n\t\t\t\toffset : 0.0\r\n\t\t\t}, {\r\n\t\t\t\tcolor : '#ddd',\r\n\t\t\t\toffset : 0.25\r\n\t\t\t}, {\r\n\t\t\t\tcolor : '#787878',\r\n\t\t\t\toffset : 1.0\r\n\t\t\t}],\r\n\t\t},\r\n\t\ttitle : 'test'\r\n\t});\r\n\tdata.push(row);\r\n}\r\ntable.data = data;\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\nNote : Tested with iOS 6 and its working fine. Please find the attached images of the screenshots of iOS6 and iOS7.\r\n\r\n", "attachment": [ { "id": "41971", "filename": "screenshot_ios6.1_xcode4.6.3.png", "author": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T10:13:54.000+0000", "size": 152669, "mimeType": "image/png" }, { "id": "41972", "filename": "screenshot_ios7_xcode5-DP4.png", "author": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T10:13:54.000+0000", "size": 74506, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: 'backgroundgradient' hides the text and subviews in the TableViewRow", "creator": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.1, iOS6, iOS7", "comment": { "comments": [ { "id": "268861", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~srahim], thoughts?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T16:04:57.000+0000", "updated": "2013-08-29T16:04:57.000+0000" }, { "id": "269286", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master PR - https://github.com/appcelerator/titanium_mobile/pull/4638", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-03T16:33:59.000+0000", "updated": "2013-09-03T16:33:59.000+0000" }, { "id": "269290", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_1_X - https://github.com/appcelerator/titanium_mobile/pull/4639", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-03T16:40:28.000+0000", "updated": "2013-09-03T16:40:28.000+0000" }, { "id": "270271", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified as fixed.\r\nUsing environment:\r\nDevice : iPod touch 1 5th Generation, iOS version: 7\r\nSDK: 3.1.3.v20130908095038\r\nCLI version : 3.1.2\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2-beta\r\nAppcelerator Studio, build: 3.1.3.201309072408\r\nXCode : 5 \r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-09T06:42:14.000+0000", "updated": "2013-09-09T06:42:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }