{ "id": "102224", "key": "TIMOB-11171", "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": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2012-09-26T23:25:36.000+0000", "created": "2012-09-26T18:58:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios090112", "qe-ios6" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T21:42:16.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": "Description:\r\nWhile testing TableView module I noticed a difference in tableView rows display on iOS with 6.0 and iOS with 4.3.5.\r\nScreen shots are attached.\r\n\r\nThis is not a regression, the same view was noticed on 2.1.2 for iOS 4.3.5.\r\n\r\nSteps to reproduce:\r\n1. Run the following code on iPhone 4S (6.0.GM) and iPhone 4S (4.3.5) side by side:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n fullscreen : false,\r\n backgroundColor : 'white'\r\n});\r\n \r\nvar tableView = Ti.UI.createTableView({\r\n top : '0dp',\r\n bottom : '0dp',\r\n left : '0dp',\r\n right : '0dp'\r\n});\r\n \r\nvar numRows = 15;\r\nvar rows = [];\r\nfor (var i = 0; i < numRows; i++){\r\n var tableViewRow = Ti.UI.createTableViewRow({\r\n height : 'auto'\r\n });\r\n \r\n var textField = Ti.UI.createTextField({\r\n top:'0dp',\r\n left : '5dp',\r\n right : '5dp',\r\n borderColor : '#CCCCCC',\r\n borderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL\r\n });\r\n \r\n tableViewRow.add(textField);\r\n \r\n rows.push(tableViewRow);\r\n}\r\ntableView.data = rows;\r\nwin.add(tableView);\r\nwin.open();\r\n{code}\r\n\r\n2. See the difference", "attachment": [ { "id": "32045", "filename": "iOS_4.3.5.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T18:58:14.000+0000", "size": 18056, "mimeType": "image/png" }, { "id": "32046", "filename": "iOS_6.0.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T18:58:14.000+0000", "size": 12311, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableView - Unexpected behavior in tableView rows display", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on: \r\nOS: Mac OS X Lion 10.7.4 \r\nTitanium Studio, build: 2.1.2.201208301612 \r\nTitanium SDK, build: 2.1.3.v20120925173111\r\nDevices: iPhone 4S (6.0.GM), iPhone 4S (4.3.5)", "comment": { "comments": [ { "id": "221148", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolved by mistake", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:18:07.000+0000", "updated": "2012-09-26T23:18:07.000+0000" }, { "id": "221153", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is a behavior difference between the various IOS versions.\r\nBasically a call to sizeThatFits is returning different values for different SDK's.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:25:36.000+0000", "updated": "2012-09-26T23:25:36.000+0000" }, { "id": "411593", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T21:42:16.000+0000", "updated": "2017-03-13T21:42:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }