{ "id": "92984", "key": "TIMOB-9459", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-07-10T22:09:18.000+0000", "created": "2012-06-08T04:08:03.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17727", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "62731", "key": "TIMOB-2099", "fields": { "summary": "Android: border properties broken for Label", "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": "22531", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "104398", "key": "TIMOB-11667", "fields": { "summary": "iOS: Label - The view is out of 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 } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-10T22:09:24.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": "The text of the label comes over the border of the label.\r\n\r\nThis is a regression.This works fine on 1.8.2,2.0.1 and 2.0.2.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run the below code on device.\r\n\r\napp.js\r\n{code}\r\nvar _window=Ti.UI.createWindow ({\r\n\t\tbackgroundColor : 'blue'\r\n\t\t})\t\r\n\t\tvar l1 = Titanium.UI.createLabel({\r\n\t\t height:Ti.UI.SIZE,\r\n\t\t\twidth:182,\r\n\t\t font:{fontSize:12,fontFamily:'ARIAL', fontWeight:'solid'},\r\n\t\t\tcolor:'#000',\r\n\t\t\ttextAlign:'left',\r\n\t\t\ttop:20,\r\n\t\t\tborderWidth:2,\r\n\t\t\tborderColor:'#bbb',\r\n\t\t\tborderRadius:10,\r\n\t\t\ttext:\"This test is to ensure that the text is coming as it as it should be. the text should not be hidden by the border of the label.\"\r\n\t\t\t\r\n\t\t});\r\n\t_window.add(l1);\r\n\t_window.open();\r\n\r\n{code}\r\n\r\nExpected Result:\r\nThe text should be visible properly within the label.\r\n\r\nActual Result:\r\nThe text of the label is coming over the border of the label.", "attachment": [ { "id": "28276", "filename": "Android_2_0_1GA.png", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:29:44.000+0000", "size": 22977, "mimeType": "image/png" }, { "id": "28277", "filename": "Android_2_1_0.png", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:29:44.000+0000", "size": 20980, "mimeType": "image/png" }, { "id": "28278", "filename": "ios_2_1.png", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:29:44.000+0000", "size": 31344, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TextArea: The text of the label comes over the border of the label.", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120607180246\r\nTested with Titanium Studio: 2.1.0.201206062004\r\nPlatform & version: Samsung Galaxy Nexus (4.0.2)\r\nHost Operating System: OSX 10.7.3", "comment": { "comments": [ { "id": "197939", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is related to TIMOB-2099, but the problem of the background being filled has been fixed. The remaining problem is how we draw the border in the background on Android, but on iOS it is drawn in front.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T17:15:51.000+0000", "updated": "2012-06-08T17:15:51.000+0000" }, { "id": "197940", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Technically this shouldn't be classified as a regression. The issue of borders being drawn in the background\r\nhas been around for a long time.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T17:16:57.000+0000", "updated": "2012-06-08T17:16:57.000+0000" }, { "id": "198098", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is some screenshots of the behavior on Android between 2.0.1 and 2.1.0 (master). This is not a new regression, but just an issue that was masked by a prior bug which caused the entire background to be filled with the border's color.\r\n\r\nWe are very close to matching the behavior seen on the other platforms (iOS screenshot attached). The issue of the border overlapping with the view is a larger issue which will need to be considered outside the scope of this ticket.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:29:44.000+0000", "updated": "2012-06-11T16:29:44.000+0000" }, { "id": "423821", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-10T22:09:19.000+0000", "updated": "2017-07-10T22:09:19.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }