{ "id": "102883", "key": "TIMOB-11300", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-10T19:59:36.000+0000", "created": "2012-10-08T21:33:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-ios100112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21877", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102785", "key": "TIMOB-11286", "fields": { "summary": "iOS: TableView property Titanium.UI.iPhone.TableViewStyle.GROUPED has a different background. (Regression Issue)", "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": "2012-12-04T19:34:15.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": "When using a grouped tableview with \"style: Titanium.UI.iPhone.TableViewStyle.GROUPED\", the background color of the tableview is not behaving as expected. When using the default settings (with no color set) it is expected that all iOS versions show the \"striped\" background. This is not the case with iOS 6, it seems a transparent background is used. Additionally, when setting a background color, the tableview rows also adopt this color, this occurs on all iOS versions tested (iOS 4.3.5, 5.1, 6.0).\r\n\r\nThis is a regression as it does not occur in 2.1.2GA (unable to test on device)\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar data = [\r\n\t\t{title:'Row 1', hasChild:true, color:'red', selectedColor:'#fff'},\r\n\t\t{title:'Row 2', hasDetail:true, color:'green', selectedColor:'#fff'},\r\n\t\t{title:'Row 3', hasCheck:true, color:'blue', selectedColor:'#fff'},\r\n\t\t{title:'Row 4', color:'orange', selectedColor:'#fff'}\r\n\t];\r\n\t\r\nvar tableview = Titanium.UI.createTableView({\r\n\t\tdata:data,\r\n\t\tstyle: Titanium.UI.iPhone.TableViewStyle.GROUPED//,\r\n\t\t//backgroundColor: \"red\"\r\n\t});\r\n\t\r\nwin.add(tableview);\r\nwin.open();\r\n{code}\r\n\r\nSteps to reproduce:\r\npart one:\r\n1) Create a project with the sample code above\r\n2) Run in iOS 6 simulator or on device\r\n\r\npart two:\r\n1) Uncomment background color and comma in code\r\n2) Run in simulator or on device\r\n\r\nResults:\r\npart one: \r\niOS 6: Transparent background\r\niOS <6: Striped background\r\n\r\nPart two:\r\nTableview and tableview rows show red color", "attachment": [ { "id": "32407", "filename": "2.1.2 on iOS 6.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T21:47:05.000+0000", "size": 62020, "mimeType": "image/png" }, { "id": "32408", "filename": "2.1.3 on iOS 5.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T21:47:05.000+0000", "size": 46330, "mimeType": "image/png" }, { "id": "32409", "filename": "2.1.3 on iOS 6.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T21:47:05.000+0000", "size": 41506, "mimeType": "image/png" }, { "id": "32410", "filename": "background set to red.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T21:47:05.000+0000", "size": 43419, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Grouped tableview background color not behaving as expected", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 2.1.3GA\r\nSDK 3.0.0.v20121007054913\r\n", "comment": { "comments": [ { "id": "222954", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR https://github.com/appcelerator/titanium_mobile/pull/3150\n3.0.X PR https://github.com/appcelerator/titanium_mobile/pull/3151\n2.1.X PR https://github.com/appcelerator/titanium_mobile/pull/3152", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-10T20:00:27.000+0000", "updated": "2012-10-10T20:00:27.000+0000" }, { "id": "229902", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 3.0.0.v20121130200208 on iPhone 4 5.1.1 and iPhone 5 6.0", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T19:34:15.000+0000", "updated": "2012-12-04T19:34:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }