{ "id": "149126", "key": "AC-180", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-10T06:02:32.000+0000", "created": "2015-06-25T08:26:56.000+0000", "labels": [ "ios", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-10T06:02:32.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Animating an object from left to right:\r\n\r\n\r\n{code:javascript}\r\nvar viewObject = Ti.UI.createButton({\r\n left: 10 // or '10dp' wouldnt make a difference (depending on tiapp.xml setting)\r\n});\r\n\r\nviewObject.animate({\r\n right: 20\r\n});\r\n{code}\r\n\r\nYou would expect the above to work when you have *dip* defined in your tiapp.xml. However, animation doesnt play (tested on iOS, not sure for Android) unless you define *right: '20dp'*.", "attachment": [], "flagged": false, "summary": "Animation doesnt work when I dont explicitly pass '*dp'", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Ti SDK 4.0.0GA, Alloy 1.6.0, tested on iOS", "comment": { "comments": [ { "id": "369388", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello\r\n\r\nWe tested this issue but couldn't reproduce this as a bug in our environment.\r\n\r\n*Testing Environment:*\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nMac Osx: 10.9.5\r\niOS simulator: iPhone5s (8.1)\r\nNode.js Version = 0.12.7\r\nJdk: 1.7.0_65\r\nTi Sdk : 5.0.2\r\n\r\n*Test Case:*\r\n{code}\r\nvar win2 = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\nwin2.open();\r\n \r\nvar view = Ti.UI.createButton({\r\n\tbackgroundColor : 'blue',\r\n\ttop : 200,\r\n\theight : 100,\r\n\twidth : 100,\r\n\tleft : 10\r\n});\r\nwin2.add(view);\r\n \r\nvar b1 = Ti.UI.createButton({\r\n\ttitle : 'Animate',\r\n\ttop : 120,\r\n\tleft : 120\r\n});\r\nb1.addEventListener(\"click\", function() {\r\n\tview.left = 10;\r\n\tview.animate({\r\n\t\tleft : 100,\r\n\t\tduration : 1000\r\n\t}, function() {\r\n\t\tTi.API.info('right movement complete');\r\n\t});\r\n});\r\nwin2.add(b1); \r\n{code}\r\n\r\n*Steps to test:*\r\n1. Create a classic project\r\n2. Open ti.xml file and replace dip\r\n2. Replace app.js with below code\r\n3. Run the project\r\nClick on animate button and observe that the animation is working properly.\r\n\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-09T11:40:24.000+0000", "updated": "2015-11-10T06:02:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }