{ "id": "120613", "key": "TIMOB-15402", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-17T17:12:32.000+0000", "created": "2013-09-30T13:16:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "NavigationWindow", "Popover", "module_navwindow", "qe-testadded", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-13T10:02:59.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "With the next release NavigationGroup is removed and NavigationWindow will take over.\r\n\r\nBut the new NavigationWindow can not be added to a Popover on the iPad, this will break hundreds of applications now running with NavigationGroup's in popovers.\r\n\r\nSteps to Reproduce\r\n1 Create a new Alloy project \r\n2 Paste the attached files in the newly created project\r\n3 Run the project\r\n\r\nActual Result\r\nThe log states:\r\n[INFO] Can not add a window as a child of a view. Returning\r\n\r\nExpected Result\r\nThe NavigationWindow should be apearing inside the Popover", "attachment": [ { "id": "42850", "filename": "index.js", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-09-30T13:16:12.000+0000", "size": 141, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "42848", "filename": "index.xml", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-09-30T13:16:11.000+0000", "size": 193, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "42849", "filename": "popover.xml", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-09-30T13:16:11.000+0000", "size": 172, "mimeType": "application/octet-stream; charset=ISO-8859-1" } ], "flagged": false, "summary": "iOS: Unable to add NavigationWindow to Popover", "creator": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "Titanium Studio 3.1.3", "comment": { "comments": [ { "id": "273784", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "Can I champion this as a serious bug that will break my entire application.", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2013-10-04T03:25:51.000+0000", "updated": "2013-10-04T03:25:51.000+0000" }, { "id": "273954", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "I cannot believe the current feature combination dead-end is a permanent situation.\n\nThis needs some sort of movement otherwise Ti SDK 3.2 will be a big problem.", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2013-10-06T16:07:36.000+0000", "updated": "2013-10-06T16:07:36.000+0000" }, { "id": "275030", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test case with Navigation Window\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor:'white'\n})\n\nvar btn = Ti.UI.createButton({\n top:40,\n title:'OPEN POPOVER'\n})\n\nwin.add(btn);\n\nwin.open();\n\nvar nav;\n\nfunction openWindow(win)\n{\n nav.openWindow(win);\n}\n\nvar counter = 0;\n\nvar colors = ['red','green','blue','yellow','pink'];\n\nvar barcolors = ['teal','magenta','maroon','lightgray','purple'];\n\nfunction genWindow()\n{\n var win = Ti.UI.createWindow({\n backgroundColor:'white',\n wincount:counter\n })\n\n win.addEventListener('click',function(){\n openWindow(genWindow())\n })\n\n win.addEventListener('open',function(e){\n var count = e.source.wincount;\n if (count = count % 5);\n Ti.API.info('WIN OPEN '+e.source.wincount);\n e.source.title = 'WINDOW '+e.source.wincount;\n e.source.backgroundColor = colors[count];\n e.source.barColor = barcolors[count];\n counter ++;\n })\n\n win.addEventListener('close',function(e){\n Ti.API.info('WIN CLOSE '+e.source.wincount);\n counter --;\n })\n win.addEventListener('focus',function(e){\n Ti.API.info('WIN FOCUS '+e.source.wincount);\n })\n\n win.addEventListener('blur',function(e){\n Ti.API.info('WIN BLUR '+e.source.wincount);\n })\n\n \n return win;\n}\n\nfunction genNav()\n{\n counter = 0;\n nav = Ti.UI.iOS.createNavigationWindow({\n window:genWindow(),\n backgroundColor:'transparent'\n })\n\n nav.addEventListener('open',function(e){\n Ti.API.info('NAV OPEN');\n })\n\n nav.addEventListener('focus',function(e){\n Ti.API.info('NAV FOCUS');\n })\n\n nav.addEventListener('blur',function(e){\n Ti.API.info('NAV BLUR');\n })\n}\n\nfunction getPopover()\n{\n genNav();\n var popover = Ti.UI.iPad.createPopover({\n width:400,\n height:400,\n contentView:nav\n })\n\n popover.addEventListener('hide',function(e){\n nav = null;\n })\n\n return popover;\n}\n\n\nbtn.addEventListener('click',function(){\n var popover = getPopover();\n popover.show({view:btn});\n})\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T20:08:23.000+0000", "updated": "2013-10-14T20:08:23.000+0000" }, { "id": "275031", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4784", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T20:11:09.000+0000", "updated": "2013-10-14T20:11:09.000+0000" }, { "id": "276022", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified fix using Vishal's above test case with:\r\n\r\nTitanium Studio, build: 3.2.0.201310181940\r\nOS: Mac OS X Mountain Lion (10.8.5)\r\nSDK build: 3.2.0.v20131018154951\r\nTi CLI: 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f)\r\nDevices: ipad 3 (6.0.1), ipad 3 (7.0.2)\r\n\r\nHowever, was not able to verify the Alloy test case (the attachments) because of this ticket: TISTUD-5526.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T21:24:53.000+0000", "updated": "2013-10-21T21:45:15.000+0000" }, { "id": "286595", "author": { "name": "pegli", "key": "pegli", "displayName": "Paul Mietz Egli", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sent a pull request to fix the Alloy version of this bug: https://github.com/appcelerator/alloy/pull/292", "updateAuthor": { "name": "pegli", "key": "pegli", "displayName": "Paul Mietz Egli", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T17:38:06.000+0000", "updated": "2014-01-03T17:38:06.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }