{ "id": "99213", "key": "TIMOB-10446", "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-14T15:55:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-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:58.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": "tabGroup child does not open when parent window is opened under certain conditions.\r\n\r\nThis is not a regression. There is no log info.\r\n\r\nThis does not occur on MobileWeb.\r\n\r\nThis cannot be tested on Android due to TIMOB-10444.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run Code:\r\n\r\n{code}\r\nfunction createTabGroupObject() {\r\n\tvar tabGroupObject = {};\r\n\r\n\ttabGroupObject.window = Ti.UI.createWindow({\r\n\t\tbackgroundColor : 'red'\r\n\t});\r\n\r\n\ttabGroupObject.tabGroup = Ti.UI.createTabGroup();\r\n\ttabGroupObject.window.add(tabGroupObject.tabGroup);\r\n\r\n\ttabGroupObject.addTabFromString = function(string) {\r\n\t\tvar tabWindow = Ti.UI.createWindow({\r\n\t\t\tbackgroundColor : 'green'\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});\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.window.open();\r\n\t\t// tabGroupObject.tabGroup.open(); // work-around to open tabGroup manually\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\ntabGroup does not open. Red window is visible. Work-around is to explicitly open the tabGroup.\r\n\r\nExpected Result:\r\n\r\ntabGroup should open when parent window is opened. Green tabGroup should be visible.\r\n\r\nNote, this behavior does not occur with this simpler sample code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'red'});\r\n\r\nvar tabGroup = Ti.UI.createTabGroup({backgroundColor:'green'});\r\n\r\nwin.add(tabGroup);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: tabGroup child does not open when parent window is opened under certain conditions", "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, iPod 5.1", "comment": { "comments": [ { "id": "244264", "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 iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:50:45.000+0000", "updated": "2013-03-27T08:50:45.000+0000" }, { "id": "422569", "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.v20170620103414\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-22T20:10:54.000+0000", "updated": "2017-06-22T20:10:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }