{ "id": "82080", "key": "TIMOB-5893", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-11T22:08:59.000+0000", "created": "2011-10-28T09:03:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "qe-closed-3.2.2", "supportTeam", "tbs-1.8.2" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "12470", "description": "", "name": "Release 1.7.4", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-10T10:53:47.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": "h3.Problem\r\nGrouped tableviews on iPad will display right against the top of the window the first time they are displayed, the second time the window is opened the\r\ntableView has some extra padding on top. This issue exists only on iPad.\r\n\r\nh3.Reproducible Steps\r\n1. Run the following test case on iPad\r\n2. Press the giant button\r\n3. Observe the table view against the top of the window\r\n4. Click the TableView to close the window\r\n5. Press the giant button again\r\n6. Observe spacing between top of TableView and window.\r\n\r\nh3.Sample Code\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar win2 = Ti.UI.createWindow();\r\n\r\nvar table = Ti.UI.createTableView({style : Ti.UI.iPhone.TableViewStyle.GROUPED, top:0});\r\n\r\nvar data = [ \r\n { \r\n title : \"row 1\",\r\n header : \"heading\"\r\n }, \r\n { \r\n title : \"row 2\"\r\n } \r\n]; \r\n\r\ntable.setData(data);\r\n\r\nvar btn = Ti.UI.createButton({title : \"open\"});\r\n\r\nwin.add(btn);\r\n\r\nbtn.addEventListener('click', function (e) {\r\n win2.open();\r\n}); \r\n\r\ntable.addEventListener('click', function (e) {\r\n win2.close();\r\n}); \r\n\r\nwin2.add(table);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-559499", "attachment": [ { "id": "23928", "filename": "after.png", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-28T09:03:24.000+0000", "size": 47922, "mimeType": "image/png" }, { "id": "23927", "filename": "before.png", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-28T09:03:24.000+0000", "size": 68115, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: iPad - Reopening grouped tableview renders additional blank space on the top of the window", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Simulator iOS5\r\nmobile SDK 1.7.3, SDK 1.7.4.v20111025165811, SDK 1.8.0.v20111027152620", "comment": { "comments": [ { "id": "250747", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue reproduces\n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-08T06:26:41.000+0000", "updated": "2013-05-08T06:26:41.000+0000" }, { "id": "292486", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-11T22:08:59.000+0000", "updated": "2014-02-11T22:08:59.000+0000" }, { "id": "296287", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix on:\r\nDevice : iPad Simulator, iOS version:7.1\r\nSDK: 3.2.2.v20140221161255\r\nCLI version : 3.2.1\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.1\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.2.201402280732\r\ntitanium-code-processor: 1.1.0\r\nXCode : 5.1 Beta 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-03-10T10:53:30.000+0000", "updated": "2014-03-10T10:53:30.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }