{ "id": "164388", "key": "TIMOB-24103", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-30T23:34:17.000+0000", "created": "2016-11-04T14:49:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-03T18:43: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": "h5.Description\r\n\r\n*This is not a regression*\r\n\r\nWhen using the code below and navigating back from the opened window, the tabgroup in the initial view disappears and only the green window remains\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green'});\r\nvar win2 = Ti.UI.createWindow({ backgroundColor: 'pink'});\r\nvar tabGroup = Ti.UI.createTabGroup();\r\nvar acceptanceTab = Titanium.UI.createTab({\r\n\ttitle : 'Acceptance',\r\n\twindow : win\r\n});\r\nvar aboutTab = Titanium.UI.createTab({\r\n\ttitle : 'About'\r\n});\r\ntabGroup.addTab(acceptanceTab);\r\ntabGroup.addTab(aboutTab);\r\nvar tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];\r\nvar table = Ti.UI.createTableView({\r\n data: tableData\r\n});\r\nwin.add(table);\r\ntable.addEventListener('click', function(){\r\n\twin2.open();\r\n});\r\ntabGroup.open();\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the code above to an existing app.js\r\n# Tap a tableview row\r\n# Press the Windows back button\r\n\r\nh5.Actual result\r\n\r\nThe tabgroup disappears\r\n\r\nh5.Expected result\r\n\r\nTabgroup should not disappear", "attachment": [], "flagged": false, "summary": "Windows: Tabgroup disappears when navigating back from an opened window", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "OS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-68\r\nAppc NPM: 4.2.8-9\r\nTi SDK: 6.0.0.v20161103195157\r\nWindows 10 device", "closedSprints": [ { "id": 758, "state": "closed", "name": "2016 Sprint 24 SDK", "startDate": "2016-11-19T01:32:06.991Z", "endDate": "2016-12-03T01:32:00.000Z", "completeDate": "2016-12-05T01:53:38.311Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "401864", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/897", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-28T03:48:33.000+0000", "updated": "2016-11-28T03:48:33.000+0000" }, { "id": "404016", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix, was able to see the tab group after navigating back from an open window. \r\n*Environment*\r\n{code:java}\r\nMobile Emulator: 10.0.14393.0 1080p 6 inch 2gb\r\n\r\nOperating System\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 64bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js\r\nNode.js Version = 4.4.4\r\nnpm Version = 2.11.3\r\n \r\nTitanium SDK\r\nSDK Version =6.1.0.v20170103080657\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-03T18:43:12.000+0000", "updated": "2017-01-03T18:43:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }