{ "id": "88639", "key": "TIMOB-8250", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14168", "description": "2012 Sprint 22 API", "name": "2012 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-30T00:35:38.000+0000", "created": "2012-03-23T14:32:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_tableview", "qe-and031912", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-28T21:42:39.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Steps to reproduce:\r\n\r\n1. Create a default mobile project in Ti Studio\r\n2. Drop the following code into app.js:\r\n{code}\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'test',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext: 'Pass if Section 1 has 1 row, Section 2 has 2 rows , and Section 3 has 3 rows',\r\n\ttop: 20,\r\n\tleft: 10,\r\n\theight: Ti.UI.SIZE,\r\n\twidth: Ti.UI.SIZE,\r\n\tcolor: 'black'\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n\theight: 30,\r\n\twidth: 60,\r\n\ttop: 80,\r\n\tbackgroundColor: 'green'\r\n});\r\n\r\nvar section = Titanium.UI.createTableViewSection();\r\nsection.headerTitle = \"Section 1\";\r\nvar row1 = Titanium.UI.createTableViewRow({title:\"Hello 1\"});\r\nsection.add(row1);\r\n\r\nvar section2 = Titanium.UI.createTableViewSection();\r\nsection2.headerTitle = \"Section 2\";\r\nvar row3 = Titanium.UI.createTableViewRow({title:\"Hello 1\"});\r\nvar row4 = Titanium.UI.createTableViewRow({title:\"Hello 2\"});\r\n\r\nsection2.add(row3);\r\nsection2.add(row4);\r\n\r\nvar section3 = Titanium.UI.createTableViewSection();\r\nsection3.headerTitle = \"Section 2\";\r\nvar row6 = Titanium.UI.createTableViewRow({title:\"Hello 1\"});\r\nvar row7 = Titanium.UI.createTableViewRow({title:\"Hello 2\"});\r\nvar row8 = Titanium.UI.createTableViewRow({title:\"Hello 2\"});\r\n\r\nsection3.add(row6);\r\nsection3.add(row7);\r\nsection3.add(row8);\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\ttop: 70,\r\n\tdata: [section, section2, section3]\r\n});\r\n\r\n\r\nwin.add(tableView);\r\nwin.add(label);\r\nwin.open();\r\n{code}\r\n\r\n2. Run the app\r\n\r\nActual result:\r\nTable view is displayed without section headers\r\n\r\nExpected result:\r\nSection headers are dispayed", "attachment": [], "flagged": false, "summary": "Android : TableView Section - v8 - Section headers not being displayed in table view", "creator": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Closing issue\r\n\r\nTested with Ti Studio build 2.0.0.201203221554\r\nTi Mobile SDK 2.0.0.v20120322190311 hash rfe12abd6\r\nOSX Lion 10.7.3\r\nNexus S OS 2.2.2", "comment": { "comments": [ { "id": "188408", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Also, happens on Galaxy Nexus (4.0.2) on V8, SDK build: 2.0.0.v20120322190311", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T15:51:03.000+0000", "updated": "2012-03-23T15:51:03.000+0000" }, { "id": "188622", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also occurs on Kindle Fire and Nook Color\r\nTitanium SDK: 2.0.0.v20120325213306\r\nTitanium Studio, build: 2.0.0.201203262445", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T11:28:42.000+0000", "updated": "2012-03-26T11:28:42.000+0000" }, { "id": "188645", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Exists on:\r\nTitanium Studio, build: 2.0.0.201203262445\r\nSDK: 2.0.0.v20120325213306\r\nDevice: Android Nexus S (2.3.6)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T12:46:03.000+0000", "updated": "2012-03-26T12:46:03.000+0000" }, { "id": "188646", "author": { "name": "sshylaja", "key": "sshylaja", "displayName": "Sitara Shylaja", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This also happens on Android(2.2.2) Nexus 1 on \r\n\r\nTitanium mobilesdk-2.0.0.v20120325213306\r\nTitanium Studio build: 2.0.0.201203262445", "updateAuthor": { "name": "sshylaja", "key": "sshylaja", "displayName": "Sitara Shylaja", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T12:46:08.000+0000", "updated": "2012-03-26T12:46:08.000+0000" }, { "id": "225200", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile/pull/3340", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-26T22:19:30.000+0000", "updated": "2012-10-26T22:19:30.000+0000" }, { "id": "235126", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.0.v20130114171802\r\nStudio:3.0.1.201212181159\r\nDevice: LG-p970(v 2.2.2)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-21T15:24:14.000+0000", "updated": "2013-01-21T15:24:14.000+0000" }, { "id": "302798", "author": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can we reopen this ticket? We're testing on a Moto G with KitKat and a Xperia Acro S with Jelly Bean 4.1.2 using Titanium SDK 3.2.0.GA and it always fails to display the header views on a tableview, but if we open a window on top of the window that contains the tableview and then close it, the tableviewsections are displayed normally.", "updateAuthor": { "name": "urielnenvo", "key": "urielnenvo", "displayName": "Uriel Arvizu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-28T21:42:39.000+0000", "updated": "2014-04-28T21:42:39.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }