{ "id": "155830", "key": "TIMOB-20605", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-25T16:32:02.000+0000", "created": "2016-03-18T14:42:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "center", "qe-5.3.0", "view", "windows_phone" ], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-15T09:49:20.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Windows: view.center not working\r\n\r\n*Steps to reproduce:*\r\n- Create an alloy project with the reporter's provided test case\r\n- Run the app\r\n- Change the value of the x and y axis of the center and run again\r\n- Observe that no change takes effect\r\n\r\nIt's affected 5.2.0\r\n\r\n*index.js:*\r\n{code:javascript}\r\nfunction onClick(e) {\r\n $.testView.center = {\r\n \tx: '50dp',\r\n \ty: '50dp'\r\n };\r\n}\r\n$.win.open();\r\n{code}\r\n\r\n*index.xml:*\r\n{noformat}\r\n\r\n \r\n\t\t \r\n \r\n\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Windows: view.center not working", "creator": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 597, "state": "closed", "name": "2016 Sprint 06 SDK", "startDate": "2016-03-12T01:30:59.982Z", "endDate": "2016-03-26T00:30:00.000Z", "completeDate": "2016-03-28T03:38:09.726Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "380666", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/595", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-25T02:05:41.000+0000", "updated": "2016-03-25T02:05:41.000+0000" }, { "id": "382766", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Using sample code provided in PR, view.center appropriately centers the view based on the \"onClick\" position.\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.6.0.201604141457\r\nTi SDK: 5.3.0.v20160414094426\r\nAppc NPM: 4.2.5-1 \r\nAppc Core: 5.3.0-12 \r\nNode: v4.4.2\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-14T23:15:53.000+0000", "updated": "2016-04-14T23:15:53.000+0000" }, { "id": "388374", "author": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Problem isn't fixed!!! \r\nNow after tap on view it jumps to left top corner, but not to passed coordinates. I checked with this values:\r\n{ x: '150dp', y: '150dp' }\r\n{ x: 150, y: 150 }\r\n{ x: '75%', y: '75%' }", "updateAuthor": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-15T09:49:20.000+0000", "updated": "2016-06-15T09:49:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }