{ "id": "93002", "key": "TIMOB-9469", "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": "13502", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 Core", "archived": true, "released": true, "releaseDate": "2012-07-15" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-14T17:04:37.000+0000", "created": "2012-06-08T11:39:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_view", "parity", "qe-review", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17722", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92347", "key": "TIMOB-9260", "fields": { "summary": "iOS: Image positions to the top/left corner after zooming/pinching", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "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": "18741", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "82581", "key": "TIMOB-6139", "fields": { "summary": "Android: View: v8/rhino, cannot set the borderColor on a view, it is setting the entire view to the same color", "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": "21049", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "95074", "key": "TIMOB-10166", "fields": { "summary": "Android: BorderRadius on TableView doesn't clip content on Android, Ti 2.1.0", "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": "21132", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "101585", "key": "TIMOB-11020", "fields": { "summary": "Android: In 2.1.3 RC if borderWidth is used, show/hide on the border does not work and all views added on top will be hidden behind the border ", "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": "22890", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102484", "key": "TIMOB-11222", "fields": { "summary": "Android: Aliasing occurs on a view if border width is set to anything less than the entire height or width", "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": "18737", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "61316", "key": "TIMOB-684", "fields": { "summary": "Android: Border properties are broken for ImageView", "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": "18740", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "62883", "key": "TIMOB-2251", "fields": { "summary": "Android: bottom border of textfield is thicker than the rest", "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": "18743", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "80605", "key": "TIMOB-5362", "fields": { "summary": "Android: TableView/TableRow transparent background color not working while using borderColor", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-16T06:03:03.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Running the code below on iOS, the image gets clipped at scroll view border, while on Android the whole image is visible.\r\n{code}\r\nvar win = Ti.UI.createWindow({ fullscreen: true, backgroundColor: 'white'});\r\n \r\n\tvar view = Ti.UI.createScrollView({\r\n\t\tbackgroundColor:'#000',\r\n\t\tborderRadius:150,\r\n\t\theight:300,\r\n\t\twidth:300,\r\n\t\tcontentHeight:'auto',\r\n\t\tcontentWidth:'auto',\r\n\t\tminZoomScale:0.05,\r\n\t\tmaxZoomScale:3.0,\r\n\t\tzoomScle:1.0\r\n\t});\r\n\t\r\n\tvar image = Ti.UI.createImageView({\r\n\t\timage:'beach.jpg',\r\n\t\theight:'auto',\r\n\t\twidth:'auto'\r\n\t});\r\n\tview.add(image);\r\n\twin.add(view);\r\n\r\n\r\nwin.open();\r\n\r\n{code}", "attachment": [ { "id": "31355", "filename": "flower.jpg", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T16:58:30.000+0000", "size": 17766, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: TiUIView does not clip children", "creator": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android Emulator\r\n2.1.0 master", "comment": { "comments": [ { "id": "201740", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Another test case:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tfullscreen : true,\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar view = Ti.UI.createScrollView({\r\n\tbackgroundColor : '#000',\r\n\tborderRadius : 150,\r\n\theight : 300,\r\n\twidth : 300,\r\n\tcontentHeight : 'auto',\r\n\tcontentWidth : 'auto',\r\n});\r\n\r\nvar image = Ti.UI.createImageView({\r\n\timage : 'flower.jpg',\r\n\theight : 'auto',\r\n\twidth : 'auto'\r\n});\r\nview.add(image);\r\nwin.add(view);\r\n\r\nwin.addEventListener('click', function() {\r\n\tview.borderRadius = view.borderRadius - 10;\r\n\timage.borderWidth = 5;\r\n\timage.borderColor = 'red';\r\n});\r\n\r\nwin.open(); \r\n{code}\r\n\r\nRun the test code and click the window multiple times.\r\n\r\nExpected Results:\r\nThe image view should have a red border after the first time you touch it. The border radius on the scroll view should also decrease each time you click the window.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-05T22:11:45.000+0000", "updated": "2012-07-05T22:11:45.000+0000" }, { "id": "215018", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nTested and verified on:\r\nTitanium Studio, build: 2.1.1.201208091713\r\nTitanium SDK, build: 2.2.0.v20120817135712\r\nDevices: Nexus 7 tab (4.1.1)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-17T15:04:04.000+0000", "updated": "2012-08-17T15:04:04.000+0000" }, { "id": "217955", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-07T04:13:34.000+0000", "updated": "2012-09-07T04:13:34.000+0000" }, { "id": "219111", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Backport PR: https://github.com/appcelerator/titanium_mobile/pull/2965", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T16:25:46.000+0000", "updated": "2012-09-14T16:25:46.000+0000" }, { "id": "219118", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Opening to attach image", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T16:57:17.000+0000", "updated": "2012-09-14T16:57:17.000+0000" }, { "id": "219123", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopen to modify Labels.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T17:03:34.000+0000", "updated": "2012-09-14T17:03:34.000+0000" }, { "id": "219708", "author": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "body": "it broke my app !!!\r\n{code}\r\nvar row = Ti.UI.createTableViewRow({\r\n\theight:'100dp',\r\n\tlayout:'vertical'\r\n});\r\n\r\nvar imageAvatar = Ti.UI.createImageView({\r\n\theight: '80dp',\r\n\timage: \"KS_nav_ui.png\",\r\n\tborderRadius:12\r\n});\r\nrow.add(imageAvatar);\r\nvar text = Ti.UI.createLabel({\r\n\ttext:\"doesnt work\"\r\n});\r\nrow.add(text);\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n data:[row]\r\n});\r\n\r\nvar win = Ti.UI.createWindow({backgroundColor: 'black',exitOnClose: true});\r\nwin.add(tableView);\r\nwin.open();\r\n{code}\r\n\r\nif i use the \"borderRadius\" propertie it break, if i comment it it work, if i revert https://github.com/appcelerator/titanium_mobile/commit/8e4d23f3e8882d0365619f96a9d1c95eee9e8e7b (backport pr) it also work ", "updateAuthor": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-19T08:42:19.000+0000", "updated": "2012-09-19T08:42:19.000+0000" }, { "id": "219715", "author": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-19T09:11:14.000+0000", "updated": "2012-09-19T09:11:14.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }