{ "id": "91780", "key": "TIMOB-9119", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-10T18:08:09.000+0000", "created": "2012-05-11T16:29:22.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-ios050912" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-10T18:08:09.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\nThe label \"This is a normal window\" is partially covered by a Navbar.\r\nThis issue occurs on 2.0.1 as well.\r\n\r\nSteps to reproduce:\r\n1. Run the following code:\r\n{code}\r\nfunction modalWindow(){\r\n var b = Ti.UI.createButton({title:'close'});\r\n var a = Ti.UI.createButton({title:'open win'});\r\n \r\n var w = Ti.UI.createWindow({\r\n backgroundColor:'red',\r\n rightNavButton:b,\r\n leftNavButton:a\r\n });\r\n \r\n w.add(Ti.UI.createLabel({text:'This is a normal window', top:20, textAlign:'center', height:40, backgroundColor:'white'}));\r\n \r\n b.addEventListener('click', function(){\r\n w.close();\r\n });\r\n a.addEventListener('click', function(){\r\n normalWindow().open();\r\n });\r\n return w;\r\n}\r\nfunction normalWindow(){\r\n var b = Ti.UI.createButton({title:'close',width:200,height:40, top:100});\r\n \r\n var w = Ti.UI.createWindow({\r\n backgroundColor:'blue'\r\n });\r\n w.add(Ti.UI.createLabel({text:'This is a normal window', top:20, textAlign:'center', height:40, backgroundColor:'white'}));\r\n w.add(b);\r\n b.addEventListener('click', function(){\r\n w.close();\r\n });\r\n return w;\r\n}\r\n(function(){\r\n var win = Ti.UI.createWindow({\r\n backgroundColor:'green'\r\n });\r\n \r\n var btn = Ti.UI.createButton({\r\n width:100,\r\n height:40,\r\n title:'open modal'\r\n });\r\n \r\n win.add(btn);\r\n \r\n btn.addEventListener('click', function(){\r\n modalWindow().open({modal:true});\r\n });\r\n \r\n win.open();\r\n})();\r\n{code}\r\n2. Press \"Open modal\" button\r\n3. Press \"Open win\" button\r\n4. Rotate device to the landscape mode, and then back to the portrait\r\n5. Press \"Close\" button\r\n\r\nExpected result:\r\nThe label \"This is a normal window\" should not be covered by the Navbar\r\n\r\nActual result:\r\nThe label \"This is a normal window\" is partially covered by the Navbar", "attachment": [ { "id": "27667", "filename": "Screenshot 2012.05.11 15.14.57.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-11T16:29:22.000+0000", "size": 33063, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Titanium.Window - The label \"This is a normal window\" is partially covered by a Navbar", "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": "Titanium Studio, build: 2.0.1.201204261628 \r\nTitanium SDK: 2.0.2.v20120505151714\r\nDevice: iPad 3 Gen (5.1.1)", "comment": { "comments": [ { "id": "244876", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPad Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T11:40:20.000+0000", "updated": "2013-04-01T11:40:20.000+0000" }, { "id": "453656", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-10T18:08:09.000+0000", "updated": "2020-01-10T18:08:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }