{ "id": "124240", "key": "TIMOB-16095", "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": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15823", "description": "2014 Sprint 02 API", "name": "2014 Sprint 02 API", "archived": true, "released": true, "releaseDate": "2014-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-31T22:57:22.000+0000", "created": "2013-12-27T20:21:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-22T00:20: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": "h4. Problem Description\r\nIf you compile the same code with 3.2.0 and 3.1.3, the borderColor will differ between one and the other (with 3.1.3 you will be able to see the border and with 3.2.0.GA the borderColor won't be present at all). \r\n\r\nh4. Testcase\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nvar label = Ti.UI.createLabel({\r\n\tborderColor:\"pink\",\r\n\ttop:\"40\",\r\n\tleft:\"40\",\r\n\tborderRadius:\"4\",\r\n\ttext:'Test',\r\n});\r\nvar tf = Ti.UI.createTextField({\r\n\tborderColor:\"pink\",\r\n\ttop:\"80\",\r\n\tleft:\"40\",\r\n\tborderRadius:\"4\",\r\n\twidth:'40',\r\n});\r\nwin.add(label);\r\nwin.add(tf);\r\nwin.open();\r\n{code}\r\n\r\nh4. Instructions to reproduce\r\n1. CReate a new mobile project classic titanium in 3.2.0\r\n2. Paste the testcase in app.js\r\n3. Run in device\r\n4. Change the Mobile SDK to 3.1.3.GA\r\n5. Run it again in device\r\n6. You will see different outputs in the same screen. \r\n\r\nh4. Extra info\r\nRelated Q&A: http://developer.appcelerator.com/question/160915/bordercolor-is-not-working-on-android-for-labels-and-text-fields", "attachment": [], "flagged": false, "summary": "Android: borderColor is not behaving the same in 3.2.0 and 3.1.3 (Label & Textfield)", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.8.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.10.13\r\n npm Version = \r\n\r\nTitanium CLI\r\n CLI Version = 3.2.0\r\n node-appc Version = 0.2.0\r\n\r\nMobile SDK 3.2.0.GA\r\n\r\nTesting device: Nexus 4 Android OS 4.4", "comment": { "comments": [ { "id": "286084", "author": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "by setting borderWidth=1 it works fine in Android.", "updateAuthor": { "name": "madnan", "key": "madnan", "displayName": "Muhammad Adnan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-28T07:39:06.000+0000", "updated": "2013-12-28T07:39:06.000+0000" }, { "id": "286495", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "If borderWidth is not set and borderColor is set, set borderWidth to 1 as in IOS.\r\nBoth 'processProperties' and 'propertyChanged' fixed. Also fixed the bug with customBackground.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5177", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-02T17:13:42.000+0000", "updated": "2014-01-02T17:13:42.000+0000" }, { "id": "414705", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T00:20:24.000+0000", "updated": "2017-03-22T00:20:24.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }