{ "id": "126471", "key": "ALOY-959", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-02-18T16:45:31.000+0000", "created": "2014-02-16T23:44:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "15759", "description": "Alloy 1.3.1", "name": "Alloy 1.3.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:28:29.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": [], "description": "h3. Steps to Reproduce\r\nCreate two-tab project.\r\nCreate two controllers with views.\r\nAdd button to view1.\r\nAdd tabs to Alloy.CFG\r\nAdd event listener to view1 button that opens view2 in tab1 using Alloy.CFG syntax (see attached example).\r\n\r\n\r\nh3. Actual Result\r\nIn iOS, view2 opens in tab1 as intended. In android, view2 opens in its own window.\r\n\r\nh3. Expected Result\r\nIn android, view2 opens in tab1.", "attachment": [ { "id": "45972", "filename": ".log", "author": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "created": "2014-02-16T23:44:33.000+0000", "size": 416663, "mimeType": "text/plain" }, { "id": "45974", "filename": "android-ignores-config.txt", "author": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "created": "2014-02-16T23:44:37.000+0000", "size": 1079, "mimeType": "text/plain" }, { "id": "45993", "filename": "app.zip", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-18T16:43:16.000+0000", "size": 5904326, "mimeType": "application/zip" }, { "id": "45973", "filename": "diagnostic7338306934447249470.log", "author": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "created": "2014-02-16T23:44:36.000+0000", "size": 15133, "mimeType": "text/plain" } ], "flagged": false, "summary": "Alloy: Android ignores Alloy config settings", "creator": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "environment": "Titanium Studio 3.2.1", "comment": { "comments": [ { "id": "293475", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce the behavior difference between iOS and Android platforms.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-18T02:14:15.000+0000", "updated": "2014-02-18T02:14:15.000+0000" }, { "id": "293529", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This has nothing to do with Alloy.CFG, nor is it a bug. It is a platform difference between iOS and Android. On iOS, tabs include a NavigationWindow so that new windows opened within a tab automatically get the NavigationBar (title bar) and back button. On Android, there is no NavigationWindow control. Furthermore, windows on Android are heavyweight. Thus, new windows are opened as new activities, which are rendered outside of tab groups. Because there is no UI component like the iOS NavigationBar with a back button, Android users simply tap the Back button to close the window to return to the tab that opened it.\n\nThe same behavior can be seen without the use of Alloy.CFG and could be reproduced with a \"classic\" project as well.\n\nIf you want new \"windows\" to open within an existing tab, you will need to create and show() a View. Then, you can override the default Back button behavior to hide() that view instead of closing the activity.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-18T16:42:17.000+0000", "updated": "2014-02-18T16:42:17.000+0000" }, { "id": "293530", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Attached a sample app that doesn't use Alloy.CFG yet exhibits the same behavior. Create a new Alloy project, replace its app folder with the contents of this zip file.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-18T16:43:16.000+0000", "updated": "2014-02-18T16:43:16.000+0000" }, { "id": "293531", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Marking as invalid, not a bug.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-18T16:45:31.000+0000", "updated": "2014-02-18T16:45:31.000+0000" }, { "id": "293532", "author": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "body": "I had not witnessed this behavior before encountering on my current project. Thanks for clarifying the issue. I thought I had either coded incorrectly or encountered a bug.", "updateAuthor": { "name": "madcode", "key": "madcode", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Havana" }, "created": "2014-02-18T16:48:07.000+0000", "updated": "2014-02-18T16:48:07.000+0000" }, { "id": "435362", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:29.000+0000", "updated": "2018-03-07T22:28:29.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }