{ "id": "132538", "key": "TIMOB-17265", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-08T18:25:40.000+0000", "created": "2014-07-02T22:16:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_popover", "qe-3.3.0", "qe-manualtest" ], "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" }, "inwardIssue": { "id": "132540", "key": "TIMOB-17266", "fields": { "summary": "Popover: passthroughViews only work when the popover is first shown. Fails on subsequent tries.", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-20T19:09:24.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 button to show the popover. It displays correctly.\r\nDismiss the popover and click on the button to show the popover again. It does not display correctly the second time or on subsequent times.\r\n\r\nTEST CODE:\r\n{noformat}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\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({contentView: navWindow});\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\nwin.add(button);\r\n\r\nwin.open();\r\n{noformat}", "attachment": [ { "id": "49455", "filename": "FirstShow.png", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-02T22:16:30.000+0000", "size": 50027, "mimeType": "image/png" }, { "id": "49456", "filename": "SecondShow.png", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-02T22:16:30.000+0000", "size": 49886, "mimeType": "image/png" } ], "flagged": false, "summary": "Popover: Fails to correctly render a NavigationWindow after first showing the popover", "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", "closedSprints": [ { "id": 149, "state": "closed", "name": "2014 Sprint 14 SDK", "startDate": "2014-07-07T21:48:52.340Z", "endDate": "2014-07-19T00:00:00.000Z", "completeDate": "2014-07-21T15:58:32.928Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "312179", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "body": "WORKAROUND:\r\nSetting the height and width properties for the Window and Popover maintains the size of the popover, but the label inside the window still changes position after the first showing of the popover.\r\n{noformat}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar contentWindow = Ti.UI.createWindow({\r\n\tbackgroundColor: 'green',\r\n\ttitle: 'Popover',\r\n\twidth: 250,\r\n\theight: 250\r\n});\r\ncontentWindow.add(Ti.UI.createLabel({text: \"I'm a popover!\"}));\r\n\r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({\r\n\twindow: contentWindow,\r\n\twidth: 250,\r\n\theight: 250\r\n});\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n\tcontentView: navWindow,\r\n\twidth: 250,\r\n\theight: 250\t\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\nwin.add(button);\r\nwin.open();\r\n\r\n{noformat}", "updateAuthor": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-03T00:06:12.000+0000", "updated": "2014-07-03T00:06:12.000+0000" }, { "id": "312355", "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:32:36.000+0000", "updated": "2014-07-03T23:32:36.000+0000" }, { "id": "312855", "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/5891", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-08T17:18:38.000+0000", "updated": "2014-07-08T17:18:38.000+0000" }, { "id": "319537", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed with:\r\nMac osx 1-.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201408180158\r\nNode.JS Version: v0.10.28\r\nNPM Path: /usr/local/bin/npm\r\nNPM Version: 1.4.23\r\nacs@1.0.16\r\nalloy@1.5.0-dev (git://github.com/appcelerator/alloy.git#b2e8f580d023e45c63072df924666e58193a8981)\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium@3.4.0-dev (git://github.com/appcelerator/titanium.git#9079326639c7f610dafee33dd16742de7d92d795)\r\ntitanium-code-processor@1.1.1\r\nXcode6\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T19:08:45.000+0000", "updated": "2014-08-20T19:09:11.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }