{ "id": "149885", "key": "TIMOB-19251", "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": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-12T16:19:40.000+0000", "created": "2015-07-24T17:56:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" }, { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-08-20T22:10:29.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Run the sample code below in the Windows emulator. (I used the Emulator 8.1 WVGA 4 inch 512MB.)\r\n\r\nRESULTS:\r\nApplication does not display any content--only a black screen.\r\n\r\nOTHER INFO:\r\nThe addTab method works. The console outputs that the tabs were added to the tabGroup object.\r\n\r\n{noformat}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue'\r\n});\r\nwin1.add(Ti.UI.createLabel({text: 'I am a blue window.'}));\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red'\r\n});\r\nwin2.add(Ti.UI.createLabel({text: 'I am a red window.'}));\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n window: win1,\r\n title: 'Blue'\r\n}),\r\ntab2 = Ti.UI.createTab({\r\n window: win2,\r\n title: 'Red'\r\n}),\r\ntabGroup = Ti.UI.createTabGroup({\r\n tabs: [tab1, tab2]\r\n});\r\n//tabGroup.addTab(tab1);\r\n//tabGroup.addTab(tab2);\r\ntabGroup.tabs = [tab1, tab2];\r\ntabGroup.setTabs([tab1, tab2]);\r\ntabGroup.open();\r\n\r\nTi.API.info(tabGroup.tabs);\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Windows: Tabs added using the TabGroup property are not rendered", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 4.2.0.v20150723160022, 4.1.0.GA\r\nAppcelerator CLI NPM 4.1.0\r\nAppcelerator CLI Core 4.1.2\r\nWindows 8.1 Pro", "closedSprints": [ { "id": 466, "state": "closed", "name": "2015 Sprint 16 Windows", "startDate": "2015-08-03T04:01:41.284Z", "endDate": "2015-08-15T03:59:00.000Z", "completeDate": "2015-08-14T20:06:52.383Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "359273", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/399", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-07T05:33:52.000+0000", "updated": "2015-08-07T05:33:52.000+0000" }, { "id": "360565", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio: 5.0.0.v20150819140421\r\nTi SDK: 5.0.0.v20150820100424\r\nTi CLI: 4.1.4\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.2.0-1\r\nAPPC CLI: 5.0.0-8\r\nNode : v0.10.37\r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-20T22:10:25.000+0000", "updated": "2015-08-20T22:10:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }