{ "id": "99229", "key": "TIMOB-10448", "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": null, "resolutiondate": null, "created": "2012-08-14T19:42:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity", "qe-ios082012", "reprod" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-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": "2018-02-28T20:03:30.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "modal windows are fullscreen, unlike other platform implementations\r\nnavBarHidden works whether or not the window is modal, unlike other platforms\r\n\r\notherwise, modal windows in mobileweb and android are not fullscreen by default, and\r\nnavBarHidden does not work in mobileweb unless the window is modal, as documented\r\n\r\nsee screenshots, see documentation\r\n\r\nhere are some fix options:\r\n\r\n1. don't make modal windows fullscreen\r\n2. make mobileweb and android modal windows fullscreen\r\n3. update the documentation to indicate platform differences for navBarHidden, fullscreen, and modal\r\nfor example:\r\n- navBarHidden boolean works in ios regardless of modal boolean\r\n- fullscreen boolean does not appear to work on any platform if the window (modal or not) is in a tab (see sample code below)\r\n- fullscreen false does not work in ios modal windows\r\n- modal and fullscreen don't seem to have any effect on android if window is in a tab\r\n- etc.\r\n\r\nsteps to reproduce:\r\n\r\n1. run code:\r\n\r\n{code}\r\nvar getRandomColor = function()\r\n{\r\n\treturn \"#\" + Math.random().toString(16).slice(2, 8);\r\n};\r\n\r\nfunction createTabGroupObject() {\r\n\tvar tabGroupObject = {};\r\n\r\n\ttabGroupObject.tabGroup = Ti.UI.createTabGroup();\r\n\r\n\ttabGroupObject.addTabFromString = function(string) {\r\n\t\tvar color = getRandomColor();\r\n\r\n\t\tvar tabWindow = Ti.UI.createWindow({\r\n\t\t\tbackgroundColor : color,\r\n\t\t\ttitle : string,\r\n\t\t\tbarColor: color,\r\n\t\t\tnavBarHidden : true, // Ti.UI.Window.navBarHidden\r\n\t\t\tmodal : true, // Ti.UI.Window.modal\r\n\t\t\tfullscreen : false // Ti.UI.Window.fullscreen\r\n\t\t});\r\n\r\n\t\tvar tab = Ti.UI.createTab({\r\n\t\t\twindow : tabWindow,\r\n\t\t\ttitle : string,\r\n\t\t\tborderWidth : 1,\r\n\t\t\tborderColor : 'black',\r\n\t\t\tbackgroundColor : color\r\n\t\t});\r\n\r\n\t\ttabGroupObject.tabGroup.addTab(tab);\r\n\t\ttabGroupObject['tab' + string] = tab;\r\n\t};\r\n\r\n\ttabGroupObject.open = function() {\r\n\t\ttabGroupObject.tabGroup.open();\r\n\t};\r\n\r\n\treturn tabGroupObject;\r\n}\r\n\r\nvar tabGroupObject = createTabGroupObject();\r\n\r\ntabGroupObject.addTabFromString('Checkout');\r\ntabGroupObject.addTabFromString('Return');\r\n\r\ntabGroupObject.open();\r\n{code}\r\n\r\nactual result:\r\n\r\nall platforms open a tabgroup with two tabs, each tab window having a different color, except for ios which opens a fullscreen window, see screenshots\r\n\r\nexpected result:\r\n\r\nall platforms open a tabgroup with two tabs, each tab window having a different color", "attachment": [ { "id": "30497", "filename": "android.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 343931, "mimeType": "image/png" }, { "id": "30498", "filename": "ios.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 111474, "mimeType": "image/png" }, { "id": "30499", "filename": "mobileweb.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 53165, "mimeType": "image/png" }, { "id": "30500", "filename": "window.fullscreen.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 29084, "mimeType": "image/png" }, { "id": "30501", "filename": "window.modal.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 63205, "mimeType": "image/png" }, { "id": "30502", "filename": "window.navBarHidden.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T19:42:25.000+0000", "size": 20072, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: modal window does not have screen size and navBar parity", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1\r\nTitanium SDK: 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2\r\nOS: Mountain Lion\r\nDevices Tested: iPhone Simulator 5.1", "comment": { "comments": [ { "id": "244257", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "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 iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:41:20.000+0000", "updated": "2013-03-27T08:41:20.000+0000" }, { "id": "422254", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170609091155\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-19T17:34:44.000+0000", "updated": "2017-06-19T17:34:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }