{ "id": "147609", "key": "TIMOB-18872", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-09T18:17:45.000+0000", "created": "2015-05-07T00:52:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-4.0.0", "regression" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "47654", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "147657", "key": "AC-1030", "fields": { "summary": "Icon in actionBar on Android doesn't work with SDK 4.0.0RC2", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "47653", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "147677", "key": "TIMOB-18886", "fields": { "summary": "Android App Icon/Logo not showing on ActionBar on 4.0.0.RC2", "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": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2017-08-17T01:08:56.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.This is a regression. Works fine with 3.5.1.GA SDK.\r\n\r\nh5.Steps to Reproduce:\r\n1. Create an app for android for actionbar.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n navBarHidden: false\r\n});\r\nvar actionBar;\r\n\r\nwin.addEventListener(\"open\", function() {\r\n if (Ti.Platform.osname === \"android\") {\r\n if (! win.activity) {\r\n Ti.API.error(\"Can't access action bar on a lightweight window.\");\r\n } else {\r\n actionBar = win.activity.actionBar;\r\n if (actionBar) {\r\n actionBar.icon = \"/icon.png\"; \r\n actionBar.title = \"New Title\";\r\n actionBar.onHomeIconItemSelected = function() {\r\n Ti.API.info(\"Home icon clicked!\");\r\n };\r\n }\r\n }\r\n }\r\n});\r\n\r\nwin.open();\r\n{code}\r\n2. Build for android device/emulator with latest 4.0.0 SDK.\r\n\r\nh5.Actual Result:\r\n1. The actionbar icon is not shown.\r\n2. When built with SDK 3.5.1.GA the actionbar icon is shown as expected.\r\n\r\nh5. Expected Result:\r\n1. The actionbar icon should be seen with latest 4.0.0 SDK.", "attachment": [], "flagged": false, "summary": "Actionbar 'icon' property is broken with latest 4.0.0 SDK", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.0.0.201505060941\r\nTi SDK : 4.0.0.v20150430090209\r\nCLI : 4.0.0-beta8\r\nAlloy : 1.6.0-beta4\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 0.3.55\r\nAppc CLI : 0.2.280\r\nNode: v0.10.37", "comment": { "comments": [ { "id": "351942", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a behavior change after our AppCompat update: \"In modern Android UIs developers should lean more on a visually distinct color scheme for toolbars than on their application icon. The use of application icon plus title as a standard layout is discouraged on API 21 devices and newer\"", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-07T17:42:58.000+0000", "updated": "2015-05-07T17:42:58.000+0000" }, { "id": "352461", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as this is a behaviour change according to [~hpham].\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-13T21:03:31.000+0000", "updated": "2015-05-13T21:03:31.000+0000" }, { "id": "353645", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Please can we look at re-opening this.\r\nAlthough the guidelines suggest not using the app icon, the use of a menu icon (3 lines) for slide menu is still very much in use. See gmail app for example.\r\nAs far as I can see this is the only way to achieve this", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2015-05-27T13:22:47.000+0000", "updated": "2015-05-27T13:22:47.000+0000" }, { "id": "353647", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "You have my vote on this one...", "updateAuthor": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2015-05-27T13:43:44.000+0000", "updated": "2015-05-27T13:43:44.000+0000" }, { "id": "362672", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "It should be possible to use a logo instead of a title. This is indeed a behaviour change and as stated in the docs Google does not recommend using both logo and title. But as it is possible to fix this, this issue should be re-opened.", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-09T16:50:11.000+0000", "updated": "2015-09-09T16:50:11.000+0000" }, { "id": "374600", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "It's strange decision to ignore very popular case of using icon as menu. For now there is no way to do it with standard Ti API. Please add setHomeAsUpIndicator() method to ActionBar at least.\r\nWorkaround that can be helpful to someone:\r\n1. actionBar.displayHomeAsUp = true;\r\n2. actionbarextras.setHomeAsUpIcon(icon) from https://github.com/ricardoalcocer/actionbarextras", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2016-01-14T20:09:30.000+0000", "updated": "2016-01-14T20:09:30.000+0000" }, { "id": "423987", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "Android Support Library v23 added a way for fixing this.\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/9218", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-07-12T10:41:44.000+0000", "updated": "2017-07-12T11:08:12.000+0000" }, { "id": "426315", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9291", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-08-09T09:12:31.000+0000", "updated": "2017-08-09T09:12:31.000+0000" }, { "id": "426358", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for backport PR.\r\nPR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-09T18:17:45.000+0000", "updated": "2017-08-09T18:17:45.000+0000" }, { "id": "426822", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with 7.0.0.v20170816113226 & 6.2.0.v20170816173122.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.9.1.201707200100\r\nSDK Ver: 6.2.0.v20170816173122, 7.0.0.v20170816113226\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.3\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.13\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Pixel --- Android 7.1.1\r\n ⇨ google Nexus 5 --- Android 6.0.1\r\nEmulator: Android 4.4.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-17T01:08:48.000+0000", "updated": "2017-08-17T01:08:48.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }