{ "id": "94208", "key": "AC-2743", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-27T08:49:05.000+0000", "created": "2012-07-01T03:23:48.000+0000", "labels": [ "android", "borderRadius", "borderWidth", "dip", "px", "textArea" ], "versions": [], "issuelinks": [], "assignee": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "updated": "2016-03-08T07:47:38.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "1) I create a scrollView. This scrollView contains several views. Some of these views contain one or more textAreas. For each textArea I set the textArea's borderRadius property (for ex.: borderRadius : '10dip') and borderWith property (for ex.: boderWidth : '1dip').\r\n2) On iOS my app runs fine.\r\n3) On Android it crashes without any warning.\r\n4) I have discovered that if I remove the units in borderRadius definition (i.e. borderRadius : 10) and in borderWith definition (i.e. borderWith : 1) the app runs fine on Android too.\r\n5) Changing from 'dip' to 'px' does not solve the issue.", "attachment": [], "flagged": false, "summary": "textArea: adding a dimension ('dip', 'px'...) to 'borderRadius' or to 'borderWidth' makes the app crash without warning on Android", "creator": { "name": "ljf", "key": "ljf", "displayName": "Laurent Jolia-Ferrier", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ljf", "key": "ljf", "displayName": "Laurent Jolia-Ferrier", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS X 10.7.4 + Ti Studio 2.1.0.201206251749 + Mobile SDK 2.0.2.GA", "comment": { "comments": [ { "id": "201375", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi,\r\n\r\nI could not reproduce the issue with the following test code containing the textarea with borderRadius as a dip value (tested on latest 2.1.0.GA SDK). Could you please provide a reproducible test case?\r\n\r\n{noformat}\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\nwin.open();\r\n\r\nvar textarea = Ti.UI.createTextArea({\r\n top: 10,\r\n height: 100,\r\n width: 300,\r\n borderRadius: '10dip',\r\n borderWidth: '3dip',\r\n backgroundColor: 'gray',\r\n hintText: 'Hello World'\r\n});\r\n\r\nwin.add(textarea);\r\n\r\n{noformat}\r\n\r\nThanks,\r\nVarun", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-03T12:44:42.000+0000", "updated": "2012-07-26T16:32:04.000+0000" }, { "id": "221550", "author": { "name": "remmeier", "key": "remmeier", "displayName": "Remo", "active": true, "timeZone": "America/Los_Angeles" }, "body": "in the following code, the borderWidth (5dp) is also ignored (using Chrome on Windows and current SDK):\n\nvar image = Ti.UI.createImageView({height:'32dp',width:'32dp', image: 'http://www....'});\nvar label = Ti.UI.createLabel({text: 'hallo', height:'32dp', width:'auto', left: '10dp'});\t\t\nvar row = Ti.UI.createTableViewRow({height:'42dp', layout: 'horizontal', borderWidth: '5dp'});\nrow.add(image);\nrow.add(label);\n\nchanging it to '5' instead of '5dp' and it works fine.", "updateAuthor": { "name": "remmeier", "key": "remmeier", "displayName": "Remo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-01T14:51:26.000+0000", "updated": "2012-10-01T14:51:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }