{ "id": "132540", "key": "TIMOB-17266", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-10T21:41:46.000+0000", "created": "2014-07-02T22:31:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "38771", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "132538", "key": "TIMOB-17265", "fields": { "summary": "Popover: Fails to correctly render a NavigationWindow after first showing the popover", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-10T21:41:46.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": "REPRODUCTION:\r\nRun the code below in the iPad simulator.\r\n\r\nRESULTS:\r\nClick on the \"Open Popover!\" button to show the popover. Click on the \"Click Me!...\" button. The popover does not dismiss.\r\n\r\nDismiss the popover and click on the \"Open Popover!\" button to show the popover again. Click on the \"Click Me!...\" button. The popover is dismissed.\r\n\r\nEXPECTED RESULTS:\r\nThe popover should not be dismissed when clicking on a passthrough view.\r\n\r\nOTHER NOTES:\r\nIf the contentView is a Window, the popover does not display properly the first time.\r\n\r\nTEST CODE:\r\n{noformat}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle: 'Click Me! I do nothing!',\r\n\ttop: 25\r\n});\r\nwin.add(button2);\r\n\r\nvar contentWindow = Ti.UI.createWindow({\r\n\tbackgroundColor: 'green',\r\n\ttitle: 'Popover'\r\n});\r\ncontentWindow.add(Ti.UI.createLabel({text: \"I'm a popover!\"}));\r\n\r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({window: contentWindow});\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n\t//contentView: contentWindow,\r\n\tcontentView: navWindow,\r\n\tpassthroughViews: [button2]\r\n});\r\n\r\nvar button = Ti.UI.createButton({title: 'Open Popover!'});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n});\r\n\r\nwin.add(button);\r\n\r\nwin.open();\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Popover: passthroughViews only work when the popover is first shown. Fails on subsequent tries.", "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": "Mac OS X 10.8.5 \r\nTitanium Studio, build: 3.3.0.201406271151 \r\nTi SDK 3.3.0.v20140702094913 \r\niOS 7.1/Xcode 5.1.1", "comment": { "comments": [ { "id": "312354", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is not a regression. Was able to reproduce the issue on:\r\n\r\nSDK build: 3.2.3.GA \r\nAppcelerator Studio, build: 3.3.0.201406271159\r\nCLI: 3.3.0-rc4\r\nAlloy: 1.4.0-rc3\r\nXcode: 5.1.1\r\nDevice: iPad Air (7.1.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-03T23:31:15.000+0000", "updated": "2014-07-03T23:32:27.000+0000" }, { "id": "423806", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 6 and Simulator (10.0) \r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\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-07-10T21:41:46.000+0000", "updated": "2017-07-10T21:41:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }