{ "id": "131819", "key": "AC-1654", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-08-26T06:14:56.000+0000", "created": "2014-06-17T13:50:00.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:38:08.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "When you build and run the attached app on iOS 7.1 and hit the 'go' button, the backButtonTitle property of the second child window that is created is ignored, and the back button is rendered with the text 'Back' rather than the expected empty string. I've attached a video, so you know what you're trying to reproduce.\r\n\r\nIt seems to be the combination of opening the window without animation and having the title set in the controller code rather than in the Alloy XML that causes this, as changing either of those two factors prevents the issue from happening.", "attachment": [ { "id": "49002", "filename": "backButtonTitle.mov", "author": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "created": "2014-06-17T13:50:00.000+0000", "size": 289874, "mimeType": "video/quicktime" }, { "id": "49001", "filename": "backButtonTitle.zip", "author": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "created": "2014-06-17T13:50:00.000+0000", "size": 5910485, "mimeType": "application/zip" } ], "flagged": false, "summary": "backButtonTitle ignored under some arcane circumstances", "creator": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "309304", "author": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "body": "Workarounds would be very much appreciated. In the very specific use case that led to us running into this, we can't set the window titles in Alloy XML and we can't have the window opening be animated.", "updateAuthor": { "name": "colons", "key": "colons", "displayName": "colons", "active": true, "timeZone": "Europe/London" }, "created": "2014-06-17T13:55:24.000+0000", "updated": "2014-06-17T13:55:24.000+0000" }, { "id": "314369", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi,\r\nWe have tested this issue. It’s not a bug and works as expected. You just add backButtonTitle name at app.tss file like the following code in styles folders. Hopefully Problem will be solved.\r\n\r\nh3.Testing Environment:\r\nTitanium SDK: 3.2.3.GA,3.3.0.RC\r\nTitanium CLI: 3.3.0 –rc,\r\niOS SDK: 7.1,\r\nAlloy:1.4.0,\r\nOS X Version: 10.9.3,\r\nAppcelerator Studio: 3.2.3\r\n\r\nh3.Steps to Test:\r\n 1. In attached app, paste this code at app.tss file in the styles folder.\r\n 2. Run this code with the testing environment.\r\n\r\n\r\n{code:title=app.tss}\r\n\"Window\": {\r\n backButtonTitle: 'Back',\r\n backgroundColor: '#d66',\r\n layout: 'vertical',\r\n}\r\n\r\n{code}\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-16T06:46:44.000+0000", "updated": "2014-08-10T07:46:58.000+0000" }, { "id": "317845", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello [~colons]! \r\n\r\nCan you please take a look to the above suggestion and let me know if that fixes you issue ?\r\n\r\nTIA! ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-10T07:47:51.000+0000", "updated": "2014-08-10T07:47:51.000+0000" }, { "id": "320296", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "We can't reproduce with the modified testcase. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-26T06:14:56.000+0000", "updated": "2014-08-26T06:14:56.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }