{ "id": "167127", "key": "TIMOB-24583", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-21T18:18:08.000+0000", "created": "2017-04-17T06:53:19.000+0000", "epic": { "id": 162541, "key": "TIMOB-23765", "name": "Hyperloop for Windows", "summary": "Windows: Direct API Access not working ", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [], "assignee": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-04-29T13:56:02.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": "When Hyperloop native view is added to Titanium View, Titanium layout system should use native view's position.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green'\r\n});\r\n\r\nvar Canvas = require('Windows.UI.Xaml.Controls.Canvas'),\r\n SolidColorBrush = require('Windows.UI.Xaml.Media.SolidColorBrush'),\r\n Colors = require('Windows.UI.Colors'),\r\n TranslateTransform = require('Windows.UI.Xaml.Media.TranslateTransform');\r\n\r\nvar box = new Canvas();\r\nbox.Background = new SolidColorBrush(Colors.Red);\r\nbox.Width = 50;\r\nbox.Height = 50;\r\n\r\nCanvas.SetLeft(box, 100);\r\nCanvas.SetTop(box, 200);\r\n\r\nwin.add(box);\r\nwin.open();\r\n{code}\r\n\r\n*Expected*\r\n\r\nRed box should be placed at position {{left=100, top=200}}\r\n\r\n*Actual*\r\n\r\nRed box is placed at center of the Window\r\n", "attachment": [], "flagged": false, "summary": "Windows: Native view should use absolute position in Ti View", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "417544", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/972", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-18T00:55:34.000+0000", "updated": "2017-04-18T00:55:34.000+0000" }, { "id": "417892", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just removed \"Hyperloop 2.1.0\" from fixVersion because this ticket is actually depending on SDK 6.1.0.\r\nThere's nothing to fix for Hyperloop module itself. ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-24T05:06:09.000+0000", "updated": "2017-04-24T05:06:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }