{ "id": "160235", "key": "TIMOB-23372", "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": null, "resolutiondate": null, "created": "2016-05-13T03:02:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51693", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "160245", "key": "TIMOB-23377", "fields": { "summary": "Windows: Label with both left and right in ScrollView always shows scroll bar", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57873", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174294", "key": "TIMOB-27498", "fields": { "summary": "iOS: Intermittent UI Layout test failures", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51705", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "160278", "key": "TIMOB-23385", "fields": { "summary": "iOS: Vertical View of width Ti.UI.SIZE does not scale to fit contents correctly", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51696", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159890", "key": "TIMOB-23293", "fields": { "summary": "Windows: Corporate Directory App layout issue", "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": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-24T18:02:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Specifying both {{right}} and {{left}} doesn't work with {{horizontal}} layout. For example, following example should show {{this is test text}} text with yellow background, but it doesn't.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'green'});\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor:'yellow',\r\n layout: \"horizontal\",\r\n top: 10,\r\n left: 10,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n left: 10,\r\n right: 10,\r\n color: \"blue\",\r\n text: \"this is test text\"\r\n});\r\n\r\nview.add(label);\r\n\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n*expected*\r\n\r\n!Expected.PNG|thumbnail!\r\n\r\n*actual*\r\n\r\n!Actual.PNG|thumbnail!", "attachment": [ { "id": "59214", "filename": "Actual.PNG", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T03:01:25.000+0000", "size": 7794, "mimeType": "image/png" }, { "id": "59240", "filename": "android_testcase.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-16T07:54:24.000+0000", "size": 13946, "mimeType": "image/png" }, { "id": "59213", "filename": "Expected.PNG", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T03:01:28.000+0000", "size": 3938, "mimeType": "image/png" }, { "id": "59230", "filename": "iPhone_6s_Plus_-_iPhone_6s_Plus___iOS_9_3__13E230_.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T21:30:52.000+0000", "size": 8256, "mimeType": "image/png" }, { "id": "59232", "filename": "Screen Shot 2016-05-13 at 2.45.53 PM.png", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-13T21:46:34.000+0000", "size": 41328, "mimeType": "image/png" }, { "id": "59241", "filename": "windows_testcase.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-16T07:58:46.000+0000", "size": 11173, "mimeType": "image/png" }, { "id": "59233", "filename": "windows 10.png", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-13T21:52:43.000+0000", "size": 14396, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Layout with left & right break layout", "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": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "385650", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/686", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T10:02:56.000+0000", "updated": "2016-05-13T10:02:56.000+0000" }, { "id": "385699", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "The layout will not respect the view with both a right and a left margin.\r\n\r\n*App.js*\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor:'green'});\r\n \r\nvar view = Ti.UI.createView({\r\n backgroundColor:'yellow',\r\n layout: \"horizontal\",\r\n top: 10,\r\n left: 10,\r\n right: 10,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\n \r\nvar label = Ti.UI.createLabel({\r\n left: 10,\r\n right: 10,\r\n color: \"blue\",\r\n text: \"this is test text\"\r\n});\r\n \r\nview.add(label);\r\n \r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n\r\nTested on:\r\nWindows Simulator (8.1) \r\nWindows Simulator (10)\r\nWindows 10 \r\nStudio: 4.6.0.201605131107\r\nTi SDK: 5.3.0.v20160513081655\r\nAppc NPM: 4.2.5-5 \r\nApp CLI: 5.3.0-45 \r\nNode v0.12.7\r\n\r\n*Reopening Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-13T21:16:13.000+0000", "updated": "2016-05-13T21:16:13.000+0000" }, { "id": "385704", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{quote}\r\nThe layout will not respect the view with both a right and a left margin.\r\n{quote}\r\n\r\n[~jlongton] That's right. Actually both {{right}} and {{left}} margin is not respected. (see my code below) I should have mentioned that that's how iOS renders and Windows just tries to emulate it.\r\n\r\n**From iOS screenshot**\r\n!iPhone_6s_Plus_-_iPhone_6s_Plus___iOS_9_3__13E230_.png|thumbnail!\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'green'});\r\nvar view = Ti.UI.createView({\r\n backgroundColor:'yellow',\r\n layout: \"horizontal\",\r\n top: 10,\r\n left: 10,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n left: 10,\r\n right: 10,\r\n color: \"blue\",\r\n text: \"this is test text\"\r\n});\r\n\r\nview.add(label);\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T21:30:31.000+0000", "updated": "2016-05-13T21:40:38.000+0000" }, { "id": "385706", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "[~kota] this is what i am getting on iOS for my code below\r\n!Screen Shot 2016-05-13 at 2.45.53 PM.png|thumbnail!\r\nCompared to windows 10\r\n!windows 10.png|thumbnail!\r\n\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor:'green'});\r\n \r\nvar view = Ti.UI.createView({\r\n backgroundColor:'yellow',\r\n layout: \"horizontal\",\r\n top: 10,\r\n left: 10,\r\n right: 10,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\n \r\nvar label = Ti.UI.createLabel({\r\n left: 10,\r\n right: 10,\r\n color: \"blue\",\r\n text: \"this is test text\"\r\n});\r\n \r\nview.add(label);\r\n \r\nwin.add(view);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-13T21:47:44.000+0000", "updated": "2016-05-13T21:53:11.000+0000" }, { "id": "385714", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/690\r\n5_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/691", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-13T23:01:45.000+0000", "updated": "2016-05-13T23:01:45.000+0000" }, { "id": "385748", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just removed {{qe-5.3.0}} label and {{5.3.0}} fixed version, because our main focus for 5.3.0 should be to make Corporate App look right asap and I would like to push a [simple workaround|https://github.com/appcelerator/titanium_mobile_windows/pull/697] just to make our Corporate App look good for 5.3.0. Since we have found some other issues regarding layout and it seems it requires fundamental changes in our layout engine, it sounds too much to push for 5.3.0 in this short time frame for the release. I would move this ticket (TIMOB-23372) target to 5.4.0 and I would like to resolve TIMOB-23293 asap with [my PR|https://github.com/appcelerator/titanium_mobile_windows/pull/697]. cc [~jlongton]", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-16T04:00:48.000+0000", "updated": "2016-05-16T04:02:16.000+0000" }, { "id": "386421", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/709\r\n\r\nFor QE: For test cases and expected results, please refer to the examples [in the PR|https://github.com/appcelerator/titanium_mobile_windows/pull/709]\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-23T04:58:24.000+0000", "updated": "2016-05-23T04:58:24.000+0000" }, { "id": "389460", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified.\r\nTested on:\r\nMicrosoft Lumia 640 (8.1)\r\nWindows Simulator (8.1)\r\nMicrosoft Lumia 640 (10)\r\nWindows Simulator (10)\r\nWindows 10 Pro\r\nStudio: 4.7.0.201606220541\r\nTi SDK: 5.4.0.v20160629063537\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-23\r\nNode v4.4.4\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-29T21:11:45.000+0000", "updated": "2016-06-29T21:11:45.000+0000" }, { "id": "442675", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening, noticed this has been the issue again from some point of release, found this happens at least in 7.0.0.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T05:28:09.000+0000", "updated": "2018-10-17T05:28:09.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }