{ "id": "126844", "key": "TIMOB-16504", "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": "16096", "description": "2014 Sprint 09", "name": "2014 Sprint 09", "archived": true, "released": true, "releaseDate": "2014-05-08" }, { "id": "16097", "description": "2014 Sprint 09 SDK", "name": "2014 Sprint 09 SDK", "archived": true, "released": true, "releaseDate": "2014-05-08" } ], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2014-05-07T20:21:14.000+0000", "created": "2014-02-25T20:54:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "look1", "regression", "supportTeam" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:23:54.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue description\r\nStarting 3.2.0.GA SDK, an issue cropped up where rotate transforms are not applied correctly. \r\n\r\nAttached an image/sample of the maps flow showing the issue on the annotations object. The disclosure arrows on the right side of table cells and map annotations are made by rotating two thin rectangular views and they are displaying properly in the list at the bottom of the image or when running isolated test case (app.js/app.js.png). \r\n\r\nh6.Reproduction steps\r\n(1) Launch sample \"TravisTestApp.zip\"\r\n(2) Click map annotation\r\n(3) Monitor result. They also intermittently show incorrectly as equals signs.\r\nBut show as an unrotated equals sign in the map annotation Screen shoot: MapTest_BrandableArrow.png\r\n\r\nThe basics are that we are creating a view and then performing a transform by doing a:\r\n\r\n- view.transform = Ti.UI.create2DMatrix().rotate(ROTATION_DEGREES);\r\n\r\nh6.Additional details\r\nAlso tried performing the transform after adding the object to the container instead of before, and grouping the transform into the initial createView() call but neither resolves the issue.\r\n", "attachment": [ { "id": "46185", "filename": "app.js", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T20:54:19.000+0000", "size": 1142, "mimeType": "text/javascript" }, { "id": "46186", "filename": "app.js.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T20:54:19.000+0000", "size": 13491, "mimeType": "image/png" }, { "id": "46187", "filename": "MapTest_BrandableArrow.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T20:54:19.000+0000", "size": 235594, "mimeType": "image/png" }, { "id": "46188", "filename": "MapTest_ImageView.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T20:54:19.000+0000", "size": 235356, "mimeType": "image/png" }, { "id": "46189", "filename": "TravisTestApp.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T20:54:19.000+0000", "size": 2477003, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Calling rotate on a 2DMatrix does not rotate the view properly", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.2.0.GA & 3.2.1.GA\r\nSamsung Galaxy S Android 2.3, Galaxy Nexus running Android 4.2.2, and Nexus 5 running Android 4.4", "closedSprints": [ { "id": 50, "state": "closed", "name": "2014 Sprint 09 Tooling", "startDate": "2014-04-28T15:43:24.381Z", "endDate": "2014-05-10T03:44:00.000Z", "completeDate": "2014-05-12T13:36:16.254Z", "originBoardId": 113 } ], "comment": { "comments": [ { "id": "295393", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue is reproducible. Running app.js gives us the expected arrow. Running the travis app gives me \"=\" rather than the arrow on all devices tested.\n\nEnvironment:\nAppc Studio : 3.2.1.201402061120\nTi SDK : 3.2.1.GA , 3.2.0.GA\nMac OSX : 10.8.5\nAlloy : 1.3.1 \t\nCLI - 3.2.1\nSamsung S4 - android 4.2.2\nNexus 5 - android 4.4.2\nSony Xperia - android 2.3.7", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T23:25:03.000+0000", "updated": "2014-03-03T23:25:03.000+0000" }, { "id": "298630", "author": { "name": "dfortner", "key": "dfortner", "displayName": "Daniel Fortner", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] thank you for the update. I will check with the customer (on our weekly call Tuesday) and will try to position this item for 3.3.0.", "updateAuthor": { "name": "dfortner", "key": "dfortner", "displayName": "Daniel Fortner", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-25T18:19:26.000+0000", "updated": "2014-03-25T18:19:26.000+0000" }, { "id": "303890", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Our view animation is done via onGlobalLayout callback, which triggers when global layout state or the visibility of views within the view tree changes. This happens after onLayout is invoked. MapView, however, does not trigger this callback, therefore no animation is performed. Since map v2 source code is not open source, we will have to put this on hold.\r\n\r\nA simple workaround would be to have an imageView, which should not affect performance or memory, as long as the image is resized properly.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T20:20:26.000+0000", "updated": "2014-05-08T17:43:27.000+0000" }, { "id": "304047", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As this was resolved as \"hold\" removing it from 3.3.0 release.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T17:44:23.000+0000", "updated": "2014-05-08T17:44:23.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }