{ "id": "98612", "key": "TIMOB-10302", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14619", "description": "2012 Sprint 23 Core", "name": "2012 Sprint 23 Core", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14623", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23", "archived": true, "released": true, "releaseDate": "2012-11-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-16T10:12:09.000+0000", "created": "2012-08-02T15:10:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "insight", "module_animation", "qe-testadded" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "22875", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "105087", "key": "TIMOB-11790", "fields": { "summary": "Android: Lightweight window animations on open not working", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-09-27T09:27: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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Issue\r\n\r\nAnimations on opening a window are not working on some Android versions. \r\n\r\nh3. Steps to Reproduce\r\n\r\n1. Run the sample code below\r\n\r\n{noformat}\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nwin.open();\r\n\r\nwin.addEventListener('click', function(){\r\n \r\n var win1 = Ti.UI.createWindow({\r\n backgroundColor: 'red',\r\n left: 320,\r\n navBarHidden: true\r\n });\r\n \r\n var slide_it_left = Titanium.UI.createAnimation();\r\n slide_it_left.left = 0; \r\n slide_it_left.duration = 300;\r\n \r\n win1.open(slide_it_left);\r\n \r\n});\r\n\r\n{noformat}\r\n\r\n2. The above code only shows animation (right to left) on Android 2.3 but not on Android 4.0. Also, only the right to left animation is working. None of the other animations i.e bottom to top work.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Heavyweight window animations on open not working", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK: 2.1.1.GA\r\nPlatform OS: Android 4.0", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "227399", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Author says that the animation shows on Android 2.3. I'm not seeing that. I would think this isn't working at all, anywhere, on any version of Android.\n\nStill investigating solution.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-14T21:51:50.000+0000", "updated": "2012-11-14T21:51:50.000+0000" }, { "id": "227505", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "With exactly that code above? If you change the code to change the slide_it_left.duration to 3000 (instead of 300) to make it very exaggerated and slow, you see a slow animation?\n\nI see nothing but the default activity transition that Android always shows.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T17:50:35.000+0000", "updated": "2012-11-15T17:50:35.000+0000" }, { "id": "227509", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can you try my suggestion and see if you see a slow, 3-second long transition from left to right?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T18:02:51.000+0000", "updated": "2012-11-15T18:02:51.000+0000" }, { "id": "227511", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Title changed to reflect that work being done on this is for heavyweight windows only, since the sample fail case is a heavyweight window. window.open() animations are also not working on lightweight windows, but those need to be handled differently and thus via another ticket that I will create and link here.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T18:06:09.000+0000", "updated": "2012-11-15T18:06:09.000+0000" }, { "id": "227541", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Here is what I see: http://screencast.com/t/ZGJctsVs [On Google APIS Android 2.3.3 Emulator] and http://screencast.com/t/qR3ByVucJjp [On Google APIS Android 4.0 Emulator]", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-11-15T19:07:11.000+0000", "updated": "2012-11-15T19:07:11.000+0000" }, { "id": "227558", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Did you make the change to 3000 for those videos?", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T20:06:15.000+0000", "updated": "2012-11-15T20:06:15.000+0000" }, { "id": "227606", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\n\n# Review the documentation changes (the diff in the pull request) to understand what's going on.\n# Create a new Titanium Android application and use the following as the app.js:\n{code:title=app.js}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor: 'white'\n});\n \nwin.open();\n \nwin.addEventListener('click', function(){\n\tvar win1 = Ti.UI.createWindow({\n\t\tbackgroundColor: 'red',\n\t\tnavBarHidden: true\n\t});\n\twin1.open({\n\t\tactivityEnterAnimation: Ti.Android.R.anim.fade_in,\n\t\tactivityExitAnimation: Ti.Android.R.anim.fade_out\n\t});\n});\n{code}\n# Run the app.\n# After the app loads and the empty white window appears, click the white window anywhere.\n# You should see a new window (activity) open and fade-in (to red) as it does so. (You should see it go through some pink stages before hitting its solid red.)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T22:40:45.000+0000", "updated": "2012-11-15T22:40:45.000+0000" }, { "id": "227607", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3431", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-15T22:44:34.000+0000", "updated": "2012-11-15T22:44:34.000+0000" }, { "id": "230608", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It s working great except that on my 4.1 device only the enter animation works.\r\nThe exit animation still is the Scale/fade effect.\r\nSame on the simulator", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-12-10T10:52:26.000+0000", "updated": "2012-12-10T10:52:26.000+0000" }, { "id": "234686", "author": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "as the title, it's not working when we're using heavyweight window, does it mean it's working for lightwindow? but for me, both are not working.\r\nmy system is sdk2.1.1, android4.0", "updateAuthor": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-16T20:29:48.000+0000", "updated": "2013-01-16T20:29:48.000+0000" }, { "id": "235305", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment used for verification -\r\nTitanium SDK: 3.1.0.v20130114171802\r\nTitanium  Studio: 3.0.1.201212181159\r\nDevice : Samsung GALAXY Note Android 2.3.6, Nexus 7 Android 4.1", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-22T06:16:00.000+0000", "updated": "2013-01-22T06:16:00.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }