{ "id": "173673", "key": "TIMOB-27101", "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": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-06-10T17:54:49.000+0000", "created": "2019-05-25T04:16:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "animation", "engSchedule", "open", "regression", "transition", "window" ], "versions": [ { "id": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "issuelinks": [ { "id": "57654", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "173645", "key": "TIMOB-27092", "fields": { "summary": "Android: Default window transitions broken in SDK 8.0.1", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57674", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "173725", "key": "TIMOB-27134", "fields": { "summary": "Android: Opening a windows a effect of fade black is showing with 8.0.1.GA", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57653", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "170806", "key": "TIMOB-25678", "fields": { "summary": "Android: Window transitions are not enabled unless a shared element exists", "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": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-06-10T17:54:49.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": "*Summary:*\r\nAs of Titanium 8.0.1, a {{Window.open()}} method call is opening with a fade-in animation instead of the system default animation (typically slides-up). What's happening is that the window is doing a \"shared-element\" animation instead, which is mostly intended to show a view moving from one window to another.\r\n\r\nThis regression was caused by [TIMOB-25678] which was intended to allow app developers to use the shared-element transition animation properties such as \"activityEnterTransition\" without having to set up any views as shared-elements via {{Window.addSharedElement()}}. This was meant to be more convenient to use than the {{Window.open()}} method's \"activityEnterAnimation\" and \"activityExitAnimation\" properties. The negative consequence of this change was that it was always defaulting to shared-element transition animations even if none of the transition properties were assigned.\r\n\r\n*Steps to reproduce:*\r\n# Build and run the below code on Android.\r\n# Tap on the \"Open\" button to open a child window.\r\n\r\n{code:javascript}\r\nvar windowCount = 0;\r\nfunction openWindow() {\r\n\twindowCount++;\r\n\tvar window = Ti.UI.createWindow({\r\n\t\ttitle: \"Window \" + windowCount,\r\n\t});\r\n\tvar openButton = Ti.UI.createButton({ title: \"Open\" });\r\n\topenButton.addEventListener(\"click\", function() {\r\n\t\topenWindow();\r\n\t\twindow.close();\r\n\t});\r\n\twindow.add(openButton);\r\n\twindow.open();\r\n}\r\nopenWindow();\r\n{code}\r\n\r\n*Result:*\r\nAfter pressing the \"Open\" button, it looks like the app fades to the Android system's home screen and then the app's child window fades-in.\r\n\r\n*Expected Result:*\r\nChild window should open with a slide-in animation instead.\r\n", "attachment": [], "flagged": false, "summary": "Android: Window open() wrongly does a shared-element fade-in animation by default as of 8.0.1", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "448654", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10910", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-25T04:31:20.000+0000", "updated": "2019-05-25T04:31:20.000+0000" }, { "id": "448747", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (8.0.x): https://github.com/appcelerator/titanium_mobile/pull/10925", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-31T02:02:00.000+0000", "updated": "2019-05-31T02:02:00.000+0000" }, { "id": "448809", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a duplicate of TIMOB-27092 (where some more people are tracking the issue as well). Might be good to link.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-06-04T14:15:00.000+0000", "updated": "2019-06-04T14:15:00.000+0000" }, { "id": "448830", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (8.1.x): https://github.com/appcelerator/titanium_mobile/pull/10933", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-04T21:51:30.000+0000", "updated": "2019-06-04T21:51:30.000+0000" }, { "id": "448835", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR passed. Waiting on Jenkins", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-04T23:14:34.000+0000", "updated": "2019-06-04T23:14:34.000+0000" }, { "id": "448959", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the Fix on SDK 8.0.2.v20190605070127 and 8.1.0.v20190606063903. Windows transition works as expected.\r\n{code}\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 8.0.2.v20190605070127 and 8.1.0.v20190606063903\r\nCLI -7.0.11\r\nDevice =one plus 5t android 9\r\nEmulator = pixel xl android 9\r\n{code}", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-10T17:54:46.000+0000", "updated": "2019-06-10T17:54:46.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }