{ "id": "77100", "key": "TIMOB-4520", "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": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T15:47:02.000+0000", "created": "2011-06-29T07:04:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:27.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": "h1. Problem\r\nEmpty TableViews normally have separators every 40ish pixels or so for the empty rows; but as of 1.7.0, they don't show up if the TableView is in a TabGroup.\r\n\r\nh2. Expected Behavior\r\nThere should be separators every 40ish pixels, even in an empty TableView in a TabGroup.\r\n\r\nh2. Example Code\r\nDrop the following in an app.js and you will see a large white box. This is the table view. Touch \"2. Click Me\" and a row will be added. Notice that the row has a separator, but that there aren't any other separators beneath it.\r\n{code:title=bad app.js}\r\nvar win = Ti.UI.createWindow({\r\n title: '1. Look @ White Table',\r\n backgroundColor: '#000'\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n top: 0, height: 200,\r\n separatorColor: 'green'\r\n});\r\nwin.add(table);\r\n\r\nvar addRow = Ti.UI.createButton({\r\n bottom: 0, height: 50,\r\n title: '2. Click Me'\r\n});\r\naddRow.addEventListener('click', function() {\r\n table.appendRow({ title: '3. Look @ My Separator' });\r\n});\r\nwin.add(addRow);\r\n\r\nvar tabGroup = Ti.UI.createTabGroup();\r\ntabGroup.addTab(Ti.UI.createTab({\r\n window: win\r\n}));\r\ntabGroup.open();\r\n{code}\r\n\r\nCompare that to the following code. Drop this in an app.js, and you will see the proper behavior -- there are separators every 40ish pixels as expected.\r\n{code:title=good app.js}\r\nvar win = Ti.UI.createWindow({\r\n title: '1. Look @ Separators',\r\n backgroundColor: '#000'\r\n});\r\nvar table = Ti.UI.createTableView({\r\n top: 0, height: 200,\r\n separatorColor: 'green'\r\n});\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\nh2. Screenshots\r\nAttached.\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-372136", "attachment": [ { "id": "21520", "filename": "test 1.6.2.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-29T07:04:11.000+0000", "size": 34279, "mimeType": "image/png" }, { "id": "21521", "filename": "test 1.7.1.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-29T07:04:11.000+0000", "size": 27428, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Empty TableView in TabGroup Doesn't Have Separators", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "162618", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After a very long series of observation was able to track down the bug, pending pull request #363", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-11T12:54:12.000+0000", "updated": "2011-08-11T12:54:12.000+0000" }, { "id": "164334", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested On: \nMac OSX Lion\nTiMob: 1.8.0v20110819142548\nTiStud: 1.0.4.201108101535\n\nDevices:\niPhone4 version 4.2.10\niPad2 version 4.3.5\niPod 3", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T10:24:06.000+0000", "updated": "2011-08-29T10:24:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }