{ "id": "164052", "key": "TIMOB-24048", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-01T14:56:36.000+0000", "created": "2016-10-18T18:17:31.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" }, { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-21T23:48:16.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": "h5.Issue Description\r\n\r\nThe activityExitAnimation and activityEnterAnimations parameters are not being honored on Ti.Window's close method. This causes windows to not animate when they close.\r\n\r\nCustomer is using custom animations, but that should not matter. They are properly defined in app/platform/android/res/anim. The code to really look at is in app/controllers/newWindow.js:\r\n{code}\r\n$.win.open({\r\nactivityEnterAnimation: Ti.App.Android.R.anim.slide_in,\r\nactivityExitAnimation: Ti.App.Android.R.anim.still\r\n});\r\n\r\nfunction close(){\r\n$.win.close({\r\nactivityEnterAnimation: Ti.App.Android.R.anim.still,\r\nactivityExitAnimation: Ti.App.Android.R.anim.slide_out\r\n});\r\n}\r\n{code}\r\nThe open call animates as expected. The close call does not animate as expected on TiSDK versions newer than 5.3.1.GA.\r\n\r\nh5.Steps to reproduce: \r\n\r\n1) Build the test case to an Android device using TiSDK 5.4.0.GA or higher (with highest version currently being 5.5.1.GA)\r\n2) Press the \"OPEN NEW WINDOW\" button\r\n3) Observe the new window slide in from the left\r\n4) Press the \"CLOSE ME!\" button on the new window\r\n5) Observe the new window closing with no animation\r\n\r\nh5. Expected behavior:\r\n1) Build the test case to an Android device using TiSDK 5.3.1.GA\r\n2) Press the \"OPEN NEW WINDOW\" button\r\n3) Observe the new window slide in from the left\r\n4) Press the \"CLOSE ME!\" button on the new window\r\n5) Observe the new window slide out to the right\r\n\r\n", "attachment": [ { "id": "60557", "filename": "window-animation-test.zip", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-18T18:17:06.000+0000", "size": 10480950, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Window transition animations are not working as expected", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Platform: Android\r\nSDK Version: 5.4.0.GA through 5.5.1.GA\r\nOS Version: 6.X, 5.X, 7\r\n", "closedSprints": [ { "id": 741, "state": "closed", "name": "2016 Sprint 22 SDK", "startDate": "2016-10-22T00:02:29.945Z", "endDate": "2016-11-05T00:02:00.000Z", "completeDate": "2016-11-07T04:38:58.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "399829", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8546", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T23:06:24.000+0000", "updated": "2016-10-25T23:06:24.000+0000" }, { "id": "401654", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using the test code provided, was able to see the transition affect sliding out to the right on SDK version 6.1.0.v20161121091240 when pressing \"Close Me!\". Was also able to see the transition effect sliding out to the left when pressing \"Open new window\". \r\n*Environment*\r\n{code:java}\r\nAppcelerator Command-Line Interface, version 6.0.0\r\nAndroid 7.0 (Google Nexus 6P)\r\nOperating System Name: Mac OS X El Capitan\r\nOperating System Version: 10.11.6\r\nNode.js Version: 4.6.0\r\nnpm: 4.2.8\r\nTitanium CLI Version: 5.0.10\r\nTitanium SDK Version: 6.1.0.v20161121091240\r\nXcode: 8.0\r\nAppcelerator Studio: 4.8.0.201611121409\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-21T23:47:47.000+0000", "updated": "2016-11-21T23:47:47.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }