{ "id": "102879", "key": "TIMOB-11298", "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": "14813", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" }, { "id": "15275", "description": "2013 Sprint 04 Core", "name": "2013 Sprint 04 Core", "archived": true, "released": true, "releaseDate": "2013-02-25" }, { "id": "14814", "description": "2013 Sprint 04", "name": "2013 Sprint 04", "archived": true, "released": true, "releaseDate": "2013-02-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-12T19:02:31.000+0000", "created": "2012-10-08T20:34:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "exalture", "module_animation", "qe-and100112", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14169", "description": "2012 Sprint 22 Core", "name": "2012 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "issuelinks": [ { "id": "21816", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94027", "key": "TIMOB-9827", "fields": { "summary": "Android: Translate animations of invisible views may be delayed", "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": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-06-19T12:43:41.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": "Description:\r\nA blue view disappears after device is rotated to landscape mode.\r\nThis is not a regression, the behavior exists as far back as 2.1.2 at least.\r\n\r\nSteps:\r\n1. Run the following code:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({backgroundColor:'#FFFFFF'});\r\n \r\nvar ds =[];\r\nexpandableView = Ti.UI.createView({top:0,height:60,backgroundColor:'red'});\r\nnextview = Ti.UI.createView({layout:'vertical',top:-60,height:60,backgroundColor:'blue'});\r\nvar row1 = Titanium.UI.createTableViewRow({height:100});\r\nrow1.add(expandableView);\r\n \r\nds.push(row1);\r\n \r\nvar row2 = Titanium.UI.createTableViewRow({height:100});\r\nrow2.add(nextview);\r\n \r\nds.push(row2);\r\n \r\nvar btn1 = Ti.UI.createButton({\r\n title : 'Yes',\r\n width : '50%',\r\n height : 30,\r\n bottom : 0,\r\n left : 0,\r\n font : {\r\n fontSize : 13,\r\n fontWeight : 'bold',\r\n fontFamily : 'Helvetica Neue'\r\n },\r\n color : '#FFFFFF',\r\n backgroundImage:'none',\r\n backgroundColor:'yellow'\r\n });\r\n \r\n var btn2 = Ti.UI.createButton({\r\n title : 'No',\r\n width : '50%',\r\n height : 30,\r\n bottom : 2,\r\n right : 0,\r\n font : {\r\n fontSize : 13,\r\n fontWeight : 'bold',\r\n fontFamily : 'Helvetica Neue'\r\n },\r\n color : '#858686',\r\n backgroundImage:'none',\r\n backgroundColor:'green'\r\n });\r\nbtn1.addEventListener('click',function(){\r\n nextview.animate({top:0,duration:500})\r\n});\r\nbtn2.addEventListener('click',function(){\r\n nextview.animate({top:-60,duration:500})\r\n});\r\nvar tableView = Titanium.UI.createTableView({\r\n data : ds,\r\n scrollable : true,\r\n separatorColor : 'transparent',\r\n separatorStyle: 'none',\r\n top:0\r\n });\r\n \r\nwin1.add(tableView);\r\nwin1.add(btn1);\r\nwin1.add(btn2);\r\nwin1.open();\r\n{code}\r\n2. Click on yellow button\r\n3. Rotate device to the landscape mode\r\n\r\nExpected result:\r\nA blue view should not disappear\r\n\r\nActual result:\r\nThe blue view dissapears", "attachment": [], "flagged": false, "summary": "Android: Animation - A blue view disappears after device is rotated to a landscape mode", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK, build: 3.0.0.v20121007054913\r\nDevice: Samsung Galaxy III (4.0.4)", "comment": { "comments": [ { "id": "237493", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Propate animation property back to Proxy after the animation is completed", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-06T20:16:48.000+0000", "updated": "2013-02-06T20:16:48.000+0000" }, { "id": "238087", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/3845", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-12T01:20:36.000+0000", "updated": "2013-02-12T01:20:36.000+0000" }, { "id": "239961", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Blue view stays in landscape screen.\r\n\r\nVerified on :\r\nDevice : Google Nexus, Android Version: 4.1\r\nSDK version: 3.1.0.v20130226151819\r\nCLI version : 3.0.24\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-27T06:01:29.000+0000", "updated": "2013-02-27T06:01:29.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }