{ "id": "111215", "key": "TIMOB-13068", "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": "2013-03-14T21:13:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "26722", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "111219", "key": "ALOY-566", "fields": { "summary": "Remove workaround for TIMOB-13068 regarding SplitWindow and TabGroups", "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" } }, "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": null, "updated": "2018-02-28T20:03:22.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": "h2. problem\r\n\r\nWhen assigning components to the {{masterView}} and {{detailView}} of the Ti.UI.iPad.SplitWindow component, Windows open automatically, but TabGroups require you to execute the open() call manually.\r\n\r\nh2. test case\r\n\r\nThe code below will render the Ti.UI.iPad.SplitWindow, but won't show the tabgroup in the masterView. Uncomment the noted line below and it will work.\r\n\r\n{code:javascript}\r\nvar tabgroup = Ti.UI.createTabGroup();\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle: 'tab 1',\r\n\twindow: Ti.UI.createWindow({\r\n\t\tbackgroundColor: '#f00',\r\n\t\ttitle: 'tab 1'\t\r\n\t})\r\n});\r\nvar tab2 = Ti.UI.createTab({\r\n\ttitle: 'tab 2',\r\n\twindow: Ti.UI.createWindow({\r\n\t\tbackgroundColor: '#0f0',\r\n\t\ttitle: 'tab 2'\t\r\n\t})\r\n});\r\n\r\ntabgroup.addTab(tab1);\r\ntabgroup.addTab(tab2);\r\n\r\n// uncomment the line below and the tabgroup will appear \r\n// tabgroup.open();\r\n\r\nvar split = Ti.UI.iPad.createSplitWindow({\r\n\tmasterView: tabgroup,\r\n\tdetailView: Ti.UI.createWindow({\r\n\t\tbackgroundColor: '#00f'\r\n\t})\r\n});\r\nsplit.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Ti.UI.iPad.SplitWindow doesn't open TabGroups used as master or detail views", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.0.2\r\niOS 6.1\r\niPad Simulator", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }