{ "id": "83046", "key": "TIMOB-6869", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-07T17:53:02.000+0000", "created": "2011-11-23T06:54:08.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T17:53:02.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": "h2. Problem\r\n\r\nTableView searchBar isn't correctly resized when rotated from landscape to portrait, when the tableView has an 'index' (on the right 0-20).\r\n\r\nSee attached screenshots\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar win = Ti.UI.createWindow({ \r\n title: 'title',\r\n tabBarHidden: true\r\n});\r\n\r\nvar tab = Ti.UI.createTab({\r\n window: win\r\n});\r\ntabGroup.addTab(tab); \r\ntabGroup.open();\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tsearch: Ti.UI.createSearchBar()\r\n});\r\n\r\nwin.add(table);\r\n\r\nvar fillTableView = function() {\r\n\tvar tableData = [];\r\n\tvar header = '';\r\n\tvar index = [];\r\n\tvar i = 0;\r\n\tfor ( var i = 0; i <= 20; i++ ) {\r\n\t\tvar row = Ti.UI.createTableViewRow({\r\n\t\t\ttitle: 'test'\r\n\t\t});\r\n\t\tindex.push({\r\n\t\t\ttitle: i+'',\r\n\t\t\tindex: i\r\n\t\t});\r\n\t\ttableData.push( row );\r\n\t}\r\n\ttable.data = tableData;\r\n\ttable.index = index;\r\n};\r\n\r\nfillTableView();\r\n{code}", "attachment": [ { "id": "24307", "filename": "landscape.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-11-23T06:54:08.000+0000", "size": 173537, "mimeType": "image/png" }, { "id": "24308", "filename": "portrait.png", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2011-11-23T06:54:08.000+0000", "size": 184476, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: UI - tableView searchBar not correctly resized when rotated from landscape to portrait", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": "* Titanium SDK version: 1.7.5\r\n* Platform & version: iOS 4.3/5\r\n* Device Details: iPad simulator / device\r\n* Host Operating System: Mac OS X 10.7.2\r\n* Titanium Studio version: 1.0.6.201110251616", "comment": { "comments": [ { "id": "421186", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the issue cannot be reproduced with the following environment; \r\niPhone 7 (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170606103146\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-07T17:53:02.000+0000", "updated": "2017-06-07T17:53:02.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }