{ "id": "81733", "key": "TIMOB-5812", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-16T15:30:51.000+0000", "created": "2011-10-19T10:52:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "menupopup", "notable", "qe-5.2.0" ], "versions": [], "issuelinks": [ { "id": "18346", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "63464", "key": "TIMOB-2832", "fields": { "summary": "iOS Feature Request: Custom Pop-up on touch events (Like Select,Copy,Paste)", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "50579", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "63464", "key": "TIMOB-2832", "fields": { "summary": "iOS Feature Request: Custom Pop-up on touch events (Like Select,Copy,Paste)", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "50580", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154910", "key": "ALOY-1357", "fields": { "summary": "Support Ti.UI.iOS.MenuPopup in XML", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-02-19T19:08:31.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": "!http://i.stack.imgur.com/yQKL4.png!\r\n\r\nWould be a useful feature to have. Already need it for so much. This is something that should be built-in.", "attachment": [], "flagged": false, "summary": "iOS: Support UIMenuController", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": null, "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "170188", "author": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is the documentation for it: http://developer.apple.com/library/IOS/#documentation/iPhone/Reference/UIMenuController_Class/UIMenuController.html", "updateAuthor": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-24T08:05:16.000+0000", "updated": "2011-10-24T08:05:16.000+0000" }, { "id": "170267", "author": { "name": "thedeejay", "key": "thedeejay", "displayName": "Ivan Mathy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This would be an awesome feature. It's one of the latest feature that is not yet in Ti...", "updateAuthor": { "name": "thedeejay", "key": "thedeejay", "displayName": "Ivan Mathy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-24T15:15:45.000+0000", "updated": "2011-10-24T15:15:45.000+0000" }, { "id": "295183", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still nothing?", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-02T11:33:59.000+0000", "updated": "2014-03-02T11:33:59.000+0000" }, { "id": "295185", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Try this: https://github.com/alexshive/TiPopup", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-02T13:55:22.000+0000", "updated": "2014-03-02T13:55:22.000+0000" }, { "id": "369229", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR pending: https://github.com/appcelerator/titanium_mobile/pull/7408\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"#fff\",\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: \"Show menu\"\r\n});\r\n\r\nwin.add(btn);\r\n\r\nvar menu = Ti.UI.iOS.createMenuPopup({\r\n items: [\"Hello\", \"World\"]\r\n});\r\n\r\nmenu.addEventListener(\"click\", function(e) {\r\n alert(e);\r\n});\r\n\r\nbtn.addEventListener(\"click\", function() {\r\n menu.show({\r\n view: btn\r\n });\r\n});\r\n\r\nsetTimeout(function(){\r\n\tTi.API.warn(\"hide\");\r\n\tmenu.hide();\r\n},5000);\r\n\r\nsetInterval(function() {\r\n\tTi.API.warn(\"isVisible? \" + menu.isVisible());\r\n},1000)\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-06T22:40:36.000+0000", "updated": "2016-02-16T13:34:02.000+0000" }, { "id": "369700", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Approved! PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-11T07:56:57.000+0000", "updated": "2015-11-11T07:56:57.000+0000" }, { "id": "374850", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Tested new feature and verified as working correctly. Investigated methods & properties are functioning correctly. Compatible with iOS8 & iOS9.\r\n\r\niPhone 6s Plus Device (9.2) & iPhone 6 Plus Device (8.4) \r\nMac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.2.0.v20160114021251\r\nAppc NPM: 4.2.2 \r\nApp CLI: 5.2.0-220 \r\nXcode 7.2\r\nNode v4.2.3\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-01-19T18:40:18.000+0000", "updated": "2016-01-19T18:40:18.000+0000" }, { "id": "376961", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hansknoechel] nice addition. Just wondering; why did you call it MenuPopup? Why not just Menu since the iOS API doesn't mention popup? It [does say|https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Reference/UIMenuController_Class/index.html] \"This menu is referred to as the editing menu\" so it could be EditingMenu perhaps.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-16T11:05:18.000+0000", "updated": "2016-02-16T11:05:18.000+0000" }, { "id": "376962", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hansknoechel] The {{hide()}} method doesn't work. Please see the [sample|https://github.com/appcelerator-developer-relations/appc-sample-ti520/blob/master/app/controllers/menupopup.js#L63] where I call {{hide()}} after a time out. It does not hide. Instead, it freezes and tapping anywhere else no longer hides it as well.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-16T11:35:02.000+0000", "updated": "2016-02-16T11:35:02.000+0000" }, { "id": "376972", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Updated to run methods on main thread (same thing like with the LivePhoto):\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/7735\r\nPR (5_2_X) https://github.com/appcelerator/titanium_mobile/pull/7736", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-16T13:37:57.000+0000", "updated": "2016-02-16T13:37:57.000+0000" }, { "id": "376981", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-16T15:30:28.000+0000", "updated": "2016-02-16T15:30:28.000+0000" }, { "id": "377399", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, I was able to reproduce the issue as stated by [~fokkezb] using sdk version {{5.2.0.v20160208101502}}. Using the latest build, The issue is no longer reproducible, the {{hide}} method does no longer freezes the app, and correctly hides the menu after a timeout period.\r\n\r\nTested on:\r\n\r\niPhone 6S device (9.2) & iPhone 6Plus (8.2)\r\nMac OSX El Capitan 10.11.3 (15D21)\r\nTi SDK: 5.2.0.v20160216202526\r\nAppc Studio: 4.5.0.201602170821\r\nAppc NPM: 4.2.3-2\r\nApp CLI: 5.2.0-269\r\nXcode 7.2\r\nNode v4.2.6\r\nproduction\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-19T19:08:11.000+0000", "updated": "2016-02-19T19:08:11.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }