{ "id": "167199", "key": "TIMOB-24600", "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": "6", "description": "", "name": "Hold" }, "resolutiondate": "2017-04-22T18:51:13.000+0000", "created": "2017-04-19T17:19:56.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "horizontal", "layout", "regression" ], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" }, { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [ { "id": "54738", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "165074", "key": "TIMOB-24243", "fields": { "summary": "Android-Ti.UI.SIZE doesn't work properly with horizontal layouts", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-22T19:06:36.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": "Opening based on the (possible) regression caused by TIMOB-24243. The issue was introduced in 6.0.2 and persists on 6.0.3, 6.1.0 and master as well. It was only seen in one project so far that may used a workaround for the bug we fixed in TIMOB-24243, so it might be invalid. Keeping it for the case others run into it.", "attachment": [], "flagged": false, "summary": "Android: Ti.UI.SIZE doesn't work properly with horizontal layouts (regression)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "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": "417883", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Regarding the test-case: It's the same source-code [~michael] used (from a customer we both worked with). We agreed last week that there is a good chance the customer used a workaround for the original bug that we fixed that now does not work any more, as the bug is fixed. \r\n\r\nWe both did not see the issue in other apps and as there are no reports from other apps, I'd put it on hold for now. \r\n\r\nMaybe [~michael] can get the Alloy controller, so we can at least isolate it to that one. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-22T18:50:52.000+0000", "updated": "2017-04-22T18:50:52.000+0000" }, { "id": "419646", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-13T10:26:02.000+0000", "updated": "2017-05-13T10:26:02.000+0000" }, { "id": "420139", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "*Test code:*\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'gray'\r\n});\r\nvar view = Ti.UI.createView({\r\n\tleft: 10,\r\n\ttop: 10,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: 'red'\r\n});\r\nvar viewOuter = Ti.UI.createView({\r\n\tleft: 10,\r\n\ttop: 10,\r\n\twidth: 200,\r\n\theight: 200,\r\n\tbackgroundColor: 'green'\r\n});\r\nwin.addEventListener('open', function() {\r\n\t_.delay(function() {\r\n\t\tTi.API.info(' rect.x: ' + view.rect.x + ' - rect.y: ' + view.rect.y);\r\n\t}, 2000)\r\n})\r\nviewOuter.add(view);\r\nwin.add(viewOuter);\r\nwin.open();\r\n{code}\r\n\r\n*Output:*\r\n+6.0.1.GA/6.0.2.GA+\r\n rect.x: 10 - rect.y: 10\r\n\r\n+6.0.3.GA/6.0.4.GA+\r\n rect.x: 20 - rect.y: 100\r\n(that is outerview left + actionbar +outerview top)\r\n\r\nFor parity reasons it would be good to get back the 6.0.2.GA value and not use getLocationInWindow()", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-22T19:06:36.000+0000", "updated": "2017-05-22T19:06:36.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }