{ "id": "78683", "key": "TIMOB-4873", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-08T17:52:41.000+0000", "created": "2011-08-02T17:50:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T17:52: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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "1. Create an application with one or more small views.\r\n2. Add some buttons which would create a matrix and would fire scale method on the matrix.\r\n3. Animate the views using the new matrix information.\r\n\r\nCurrent Behavior (Scale Method Issues):\r\n\r\nCase 1: If one argument is passed while using scale method, scale method takes it as the value for both x-coord and y-coord.\r\n\r\nCase2 : Origin \r\n\r\nWhile executing scale method,\r\nAndroid treats Top Left corner as the origin.\r\niPhone treats the center point as the origin.\r\n\r\nCase3 : If we pass one positive and one negative value, the output is going to be weird (image would shrink to zero and reverse its coordinates which is expected as you cannot do it in any other way if its 2D and not 3D)\r\n\r\nCase4 : Firing click events repeatedly\r\n\r\nIf we click on the buttons repeatedly which fires scale method,\r\niPhone fires/executes the clicked event only once. Remembers previous value.\r\nAndroid starts every click function from the ideal Identity matrix position(initial position). Does not consider previous value.\r\n\r\n\r\nAndroid Bug:\r\n\r\nWhile increasing 'y' when 'x's is kept stationary(unchanged) at standard value of Identity matrix i.e. '1', it does not do anything. \r\ni.e. 'Y' is not shrinking nor expanding when 'x' does something else.\r\n\r\nExpected Behavior:\r\n\r\nUnknown", "attachment": [], "flagged": false, "summary": "Parity Issue: iOS vs Android issues with API scale method for 2D matrix", "creator": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiMob version 1.7.2\r\nTiStud 1.0.2\r\nMac OSX Lion\r\n\r\nDevices tested on:\r\niPhone 4.3.4,\r\niPhone Simulator,\r\nAndroid Emulator,\r\nGoogle Nexus 2.3.4\r\n", "comment": { "comments": [ { "id": "421534", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack on input for the past 6 years. Any problems, please open a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-08T17:52:41.000+0000", "updated": "2017-06-08T17:52:41.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }