{ "id": "163970", "key": "TIMOB-24035", "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": null, "resolutiondate": null, "created": "2016-10-14T12:26:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:29.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "(Attached is test app) \r\n\r\nOn android when there is both onOpen and onFocus on a window.xml file the menuItems will not render. Attached an example application that demonstrates the issue.\r\n\r\nWhen removing one of the 2 (doesn't matter which) the menu re-appears. XML is very simple\r\n\r\n{code}\r\n\r\n\t\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nAnd so is the tss\r\n\r\n{code}\r\n\"#mapButton[platform=android]\":{\r\n icon: \"/images/andrIcMap.png\",\r\n showAsAction : Ti.Android.SHOW_AS_ACTION_ALWAYS,\r\n title: 'Map'\r\n}\r\n{code}", "attachment": [ { "id": "60525", "filename": "Test.zip", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-14T12:25:44.000+0000", "size": 2215584, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Having both onOpen and onFocus on a window hides MenuItem", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Tested on Android 6.0.1 with Nexus 5\r\nUsing TiSDK 5.4.0.GA & MacOSX & Alloy 1.9.1", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }