{ "id": "63661", "key": "TIMOB-3029", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-06-01T15:55:46.000+0000", "created": "2011-04-15T03:35:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-06-01T15:55:46.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": "{html}

I've attached the \"bug\" I'm currently getting when using modal\nwindows on iPad.

\n
\n\nvar win = Titanium.UI.createWindow();\nvar redWin = Titanium.UI.createWindow({\n    backgroundColor:\"red\",\n    title:\"Red Window\"\n});\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\n   window: redWin\n});\n\nwin.add(nav);\n\nwin.open({\n    modal:true,\n    modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\n});\n
\n

When running the above code, I get two nav bars. If I set\nnavBarHidden on the \"win\" object... the modal ignores the\nmodalStyle property. When I set the navBarHidden on the \"redWin\"\nobject.. I don't get \"title\" or the navigation elements on the nav\nbar.

\n

If this is the wrong way to get a navGroup into an iPad modal\nwith modalStyle set, please let me know.

{html}", "attachment": [ { "id": "18251", "filename": "screen-shot-2011-02-02-at-21625-pm.png", "author": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:06.000+0000", "size": 158580, "mimeType": "image/png" } ], "flagged": false, "summary": "Double Nav bar on iPad when launching modal with NavGroup", "creator": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mellomike", "key": "mellomike", "displayName": "MelloMike", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "134654", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This appears to have been fixed by a previous checkin.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-01T12:39:22.000+0000", "updated": "2011-06-01T12:39:22.000+0000" }, { "id": "134679", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with May 31 2011 17:35 r5aa431bc setting navBarHidden:true on the win now works and display as expected", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-01T15:55:46.000+0000", "updated": "2011-06-01T15:55:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }