{ "id": "83246", "key": "TIMOB-6390", "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": "12089", "description": "", "name": "Sprint 2011-49", "archived": true, "released": true, "releaseDate": "2011-12-12" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-12-07T12:13:56.000+0000", "created": "2011-11-30T13:58:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "merge-1.7.6" ], "versions": [ { "id": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false } ], "issuelinks": [ { "id": "14098", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "81855", "key": "TIMOB-5833", "fields": { "summary": "Kitchensink: Base UI>Nav Group: Nav Group navBar does not resize on rotation. ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14095", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "78076", "key": "TIMOB-4741", "fields": { "summary": "iOS: Percentage-based views need to be re-drawn on device rotation", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:44:41.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\n\r\nNavbar is resized wrong when the orientation is changed.\r\n\r\nh3. Reproducible steps:\r\n \r\n1. Run the code below\r\n2. Hold the device in landscape \r\n3. Click on a row.Child window will open.\r\n4. Turn the device to portrait mode. \r\n\r\nNotice that Navbar height is reduced and you'll see some black area between the Navbar, and the table view.\r\n\r\nh3. Expected behavior:\r\n\r\nCustomer wants to have the right size of the NavBar without black area between the Navbar, and the table view.\r\n\r\nh3. Tested with the next specs:\r\n\r\niPhone 3G Version: 4.3.5\r\nSimulator\r\niOS version on simulator: 5.0\r\nTitanium Studio, build: 1.0.7.201111231202\r\nTitanium SDK: 1.7.6.v20111122141108\r\n\r\n\r\nh3. More info:\r\n\r\nCustomer knows that the code works good with the next CI Build:\r\n1.8.0.1.v20111129200258 , but he wants to use 1.7.6.\r\n\r\nSee the video attached.\r\n\r\nh3. Sample code:\r\n{code}\r\nvar modal = Ti.UI.createWindow({\r\n navBarHidden:true\r\n});\r\n\r\nvar modalWin = Ti.UI.createWindow({\r\n backgroundColor:\"red\",\r\n title: \"Karol\",\r\n navBarHidden: true\r\n});\r\n\r\nvar nav = Ti.UI.iPhone.createNavigationGroup({\r\n window:modalWin\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n style:Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n data:[{title:\"Well look at this\"},{title:\"TweetDeck is cool\"}]\r\n});\r\nmodalWin.add(table);\r\n\r\ntable.addEventListener('click',function(e)\r\n{\r\n var b = Titanium.UI.createButton({\r\n title:'Back (no anim)',\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BORDERED\r\n });\r\n b.addEventListener('click', function() {\r\n nav.close(w,{animated:false});\r\n });\r\n var w = Ti.UI.createWindow({\r\n title:e.rowData.title,\r\n rightNavButton:b,\r\n navBarHidden: false,\r\n backgroundColor:'#e7e7e7'\r\n });\r\n \r\n var table = Ti.UI.createTableView({\r\n \ttop:0,\r\n \tscrollable:false,\r\n style:Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n data:[{title:\"Well look at this\"},{title:\"TweetDeck is cool\"}]\r\n});\r\n\r\nw.add(table);\r\n w.addEventListener('focus',function()\r\n {\r\n Ti.API.info(\"nav group window -- focus event\");\r\n });\r\n w.addEventListener('blur',function()\r\n {\r\n Ti.API.info(\"nav group window -- blur event\");\r\n });\r\n var b = Ti.UI.createButton({\r\n title:\"Close Nav\",\r\n width:120,\r\n height:40\r\n });\r\n b.addEventListener('click',function()\r\n {\r\n modal.close();\r\n });\r\n w.add(b);\r\n nav.open(w,{modal:true,animated:true});\r\n});\r\n\r\nmodal.add(nav);\r\nmodal.open({modal:true});\r\n{code}\r\n \r\nh3. Helpdesk\r\nAPP-214224 \r\n", "attachment": [ { "id": "24393", "filename": "Navbar is resized wrong when the orientation is changed.mov", "author": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-30T13:58:52.000+0000", "size": 1327802, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: Navbar is resized wrong when the orientation is changed", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 3G Version: 4.3.5\r\n\r\nSimulator\r\niOS version on simulator: 5.0\r\n\r\nTitanium Studio, build: 1.0.7.201111231202\r\nTitanium SDK: 1.7.6.v20111122141108", "comment": { "comments": [ { "id": "175134", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bisect identified the bad commit as 8cc4b84da8da4086c746ee9eab1dcc1280bc1abe - a cherry-pick from 1.8 into 1.7, the fix for TIMOB-4741. Going to check that commit to see if the problem persisted there as well, or if it was built on top of 1.8 changes that prevented the issue from re-appearing there.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T19:19:13.000+0000", "updated": "2011-12-06T19:19:13.000+0000" }, { "id": "175137", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug did indeed persist at 1583a40. Running a second bisect to determine where it was fixed.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T19:29:41.000+0000", "updated": "2011-12-06T19:29:41.000+0000" }, { "id": "175184", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug was fixed by commit 4b14dc58393da3593d76a6a4df6f2c8cfb3fe73b which resolved TIMOB-5833.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T11:03:57.000+0000", "updated": "2011-12-07T11:03:57.000+0000" }, { "id": "175196", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a duplicate of TIMOB-5833; that ticket will have its fix-version updated.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T12:13:56.000+0000", "updated": "2011-12-07T12:13:56.000+0000" }, { "id": "414615", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:44:41.000+0000", "updated": "2017-03-21T22:44:41.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }