{ "id": "126679", "key": "ALOY-962", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15904", "description": "2014 Sprint 08", "name": "2014 Sprint 08", "archived": true, "released": true, "releaseDate": "2014-04-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-15T13:55:03.000+0000", "created": "2014-02-21T01:36:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "36015", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "128018", "key": "TIDOC-1595", "fields": { "summary": "Update Android Menu docs re: overflow (...) menu on devices with hardware menu button", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-05-09T00:54:27.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": "12600", "name": "Samples & Templates" } ], "description": "Steps:\r\n\r\n1. In Studio import the Alloy Todo sample and build for Android.\r\n\r\nResults: Menu for All, Active, Done options doesn't appear.\r\nExpected: Menu appears.\r\n", "attachment": [ { "id": "46773", "filename": "4.3 emulator.png", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T20:09:13.000+0000", "size": 48656, "mimeType": "image/png" }, { "id": "46776", "filename": "ALOY962.png", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-20T20:23:36.000+0000", "size": 40574, "mimeType": "image/png" }, { "id": "46772", "filename": "s4_android_442.png", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T20:09:13.000+0000", "size": 56663, "mimeType": "image/png" } ], "flagged": false, "summary": "Menu control doesn't appear in Todo sample on Android", "creator": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc Studio: 3.2.1.201402061120\r\nAlloy 1.3.1\r\nTiSDK 3.2.1.GA\r\n\r\nTested on device (HTC One - 4.3) and emulator (Nexus 4.3 with API 18)\r\n", "comment": { "comments": [ { "id": "294299", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The sample sets {{navBarHidden: true}} in index.tss, which explains it. Setting it to {{false}} fixes the original problem but the navbar + header bar combination looks a bit unorthodox. It seems the Android version should exclude the header view and use the action bar exclusively to add/filter items.", "updateAuthor": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T00:48:13.000+0000", "updated": "2014-02-24T00:48:13.000+0000" }, { "id": "298081", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/350 \n\nI implemented the ActionBar and menu, pinning the Add item to the action bar and forcing the rest to the menu. I replaced the PNG for the Add button with the Android R drawable to properly support multiple resolutions. While I was at it, I tweaked the TSS so the app looks better on iOS7.\n\nFunctional test:\n\n1. Create a new Alloy project. \n2. Copy the app folder from test/apps/models/todo though you'll want to keep the assets folder intact from the stock template or the app will run letter-boxed on iOS7 and be missing icons/splash screens on all platforms.\n3. Run the app for Android. It should implement the action bar as described above.\n4. Run the app for iPhone. If you preserved the assets folder, the app should fill the screen but not cover the status bar.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-20T16:39:07.000+0000", "updated": "2014-03-20T16:39:07.000+0000" }, { "id": "298130", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I left a comment in the PR regarding the tableTop style pushing the table down too far on Android.\n\nOn my Galaxy S4 (Android 4.4.2) the hidden MenuItems (All/Done/Active) aren't accessible (see attached) because the drop-down menu control doesn't appear. It appears as expected on a Genymotion Android 4.3 emulator (see other image).\n\n", "updateAuthor": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T20:08:11.000+0000", "updated": "2014-03-20T20:08:11.000+0000" }, { "id": "298133", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "It works fine on my Galaxy Nexus (4.2.2). ", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-20T20:23:36.000+0000", "updated": "2014-03-20T20:23:36.000+0000" }, { "id": "298214", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "The \"overflow menu\" (three-dots) appears only on devices without a physical menu button. The S4 has such a button, the Nexus and Genymotion emulator also tested with do not. So, the behavior [~tstatler] describes is \"expected behavior.\" There are ways to force the overflow menu, such as https://github.com/ricardoalcocer/actionbarextras", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-21T13:09:51.000+0000", "updated": "2014-03-21T13:09:51.000+0000" }, { "id": "298300", "author": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the info, Tim. I've created a ticket to add this info about the overflow to our Android Menu docs (TIDOC-1595). ", "updateAuthor": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-21T23:30:54.000+0000", "updated": "2014-03-21T23:30:54.000+0000" }, { "id": "300955", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR merged\r\n\r\nFunctional review can also be done with jake:\r\n\r\n{{jake app:run dir=models/todo platform=android}}\r\n\r\nThere were minor UI tweaks for iOS too. So, also\r\n\r\n{{jake app:run dir=models/todo}}", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-15T13:55:03.000+0000", "updated": "2014-04-15T13:55:03.000+0000" }, { "id": "304137", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We see the menu control on android & iOS.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405011408\r\nTi SDK : 3.3.0.v20140508101423\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-dev\r\nCLI - 3.3.0-dev\r\nNexus 5 - android 4.4.2\r\nIphone 5 - iOS 6.1.3", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-09T00:54:27.000+0000", "updated": "2014-05-09T00:54:27.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }