{ "id": "149452", "key": "TIMOB-19629", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-10T22:08:10.000+0000", "created": "2015-07-06T14:21:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "button", "material-theme", "qe-6.1.0", "uppercased" ], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-28T17:14:54.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": "Probably due to Material design. The following android style XML syntax does not work on buttons used in a ListItem:\r\n\r\n{code:xml}\r\nfalse\r\n{code}\r\n\r\nEither applied to a theme or a button, it doesnt change it. It does seem to work for all other buttons you defined through the Alloy xml.", "attachment": [], "flagged": false, "summary": "Android: Buttons stay uppercased in UI", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Titanium 4.0.0.GA Alloy 1.6.0 Android 5.0.1 (API level 21, this is very specific because I dont have any problems with material design on lower API levels)", "closedSprints": [ { "id": 752, "state": "closed", "name": "2016 Sprint 23 SDK", "startDate": "2016-11-05T00:39:37.027Z", "endDate": "2016-11-19T01:39:00.000Z", "completeDate": "2016-11-29T06:51:57.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "367544", "author": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "body": "This issue is still present on SDK 5.x\r\n\r\nI have my style.xml:\r\n{code:xml}\r\n\r\n\r\n\t\r\n\r\n{code}\r\n\r\nThe expected behaviour would be to have the all uppercase default disabled. But it gets ignored.", "updateAuthor": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "created": "2015-10-22T17:26:52.000+0000", "updated": "2015-10-22T17:27:20.000+0000" }, { "id": "399806", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Oh my god! I went mad with this textAllCaps of buttons inside listview!!!! I have the same problem!! :-/", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-10-25T18:13:08.000+0000", "updated": "2016-10-25T18:13:08.000+0000" }, { "id": "400047", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Does anyone will look this bug? It is persistent with last sdk 5.5.1 and Android version 5, 6 and 7.", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-10-28T18:45:37.000+0000", "updated": "2016-10-28T18:45:37.000+0000" }, { "id": "400063", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Code example. Download the project https://www.wetransfer.com/downloads/cb2d05ca927dacf0e395cccf2bcc5c6320161029162519/fbb102deacca31a0e74ddf2c4c03ab0c20161029162519/5e7773\r\n\r\nApplicationWindow.js \r\n{code:java}\r\nfunction ApplicationWindow() {\r\n\t//load component dependencies\r\n\tvar win = Ti.UI.createWindow({title: 'test button allCapsText', backgroundColor:'#ffffff', layout: 'vertical'});\r\n\r\n\tvar btn_win = Ti.UI.createButton({\r\n\t\ttop: 8,\r\n \tbottom: 8,\r\n width: 100,\r\n height: 36,\r\n borderRadius: 18,\r\n borderWidth: 1,\r\n borderColor: 'red',\r\n title: 'test',\r\n backgroundColor: 'red'\r\n });\r\n \r\n win.add(btn_win);\r\n \r\n\r\n\tvar listView = Ti.UI.createListView({top: 20, backgroundColor: 'blue'});\r\n\r\n var view = Ti.UI.createView({width: Ti.UI.FILL, height: Ti.UI.SIZE});\r\n \r\n\r\n\tvar btn = Ti.UI.createButton({\r\n\t\ttop: 8,\r\n \tbottom: 8,\r\n width: 100,\r\n height: 36,\r\n borderRadius: 18,\r\n borderWidth: 1,\r\n borderColor: 'red',\r\n title: 'test',\r\n backgroundColor: 'red'\r\n });\r\n \r\n view.add(btn);\r\n \r\n \r\n\tvar header = Ti.UI.createListSection({headerView: view});\r\n\t\r\n\tlistView.appendSection(header);\r\n\t\r\n\twin.add(listView);\r\n\r\n\treturn win;\r\n}\r\n{code}\r\n\r\ntiapp.xml\r\n{code:java}\r\n \r\n \t\r\n \t \r\n \r\n \r\n{code}\r\n\r\ncustom_theme.xml\r\n{code:java}\r\n\r\n\r\n\r\n\t\r\n\t\r\n \r\n\r\n{code}", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-10-29T16:30:12.000+0000", "updated": "2016-10-29T16:31:04.000+0000" }, { "id": "400147", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~otto.pic] Thanks we'll check it out soon.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-01T04:41:42.000+0000", "updated": "2016-11-01T04:41:42.000+0000" }, { "id": "400188", "author": { "name": "fmerzadyan-OLD", "key": "fmerzadyan", "displayName": "Farzad Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8572\r\n\r\n\r\n{code:JavaScript}\r\nfunction ApplicationWindow() {\r\n\t//load component dependencies\r\n\tvar win = Ti.UI.createWindow({title: 'test button allCapsText', backgroundColor: '#ffffff', layout: 'vertical'});\r\n\t\r\n\tvar btn_win = Ti.UI.createButton({\r\n\t\ttop: 8,\r\n\t\tbottom: 8,\r\n\t\twidth: 100,\r\n\t\theight: 36,\r\n\t\tborderRadius: 18,\r\n\t\tborderWidth: 1,\r\n\t\tborderColor: 'red',\r\n\t\ttitle: 'Zig',\r\n\t\tbackgroundColor: 'red',\r\n\t\ttextAllCaps: false\r\n\t});\r\n\twin.add(btn_win);\r\n\t\r\n\tvar listView = Ti.UI.createListView({top: 20, backgroundColor: 'blue'});\r\n\t\r\n\tvar view = Ti.UI.createView({width: Ti.UI.FILL, height: Ti.UI.SIZE});\r\n\t\r\n\tvar btn = Ti.UI.createButton({\r\n\t\ttop: 8,\r\n\t\tbottom: 8,\r\n\t\twidth: 100,\r\n\t\theight: 36,\r\n\t\tborderRadius: 18,\r\n\t\tborderWidth: 1,\r\n\t\tborderColor: 'red',\r\n\t\ttitle: 'ZigZag',\r\n\t\tbackgroundColor: 'red',\r\n\t\ttextAllCaps: false\r\n\t});\r\n\t\r\n\tview.add(btn);\r\n\t\r\n\tvar header = Ti.UI.createListSection({headerView: view});\r\n\t\r\n\tlistView.appendSection(header);\r\n\t\r\n\twin.add(listView);\r\n\t\r\n\treturn win;\r\n}\r\nvar win = ApplicationWindow();\r\nwin.open();\r\n\r\n{code}\r\n", "updateAuthor": { "name": "fmerzadyan-OLD", "key": "fmerzadyan", "displayName": "Farzad Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-01T17:28:19.000+0000", "updated": "2016-11-01T17:28:19.000+0000" }, { "id": "400613", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8592", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-08T19:13:24.000+0000", "updated": "2016-11-08T19:13:24.000+0000" }, { "id": "401897", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed the button text is now lowercase.\r\n\r\nTested on: \r\n\r\n{noformat}\r\nmacOS Sierra 10.12.1\r\nNexus 5X(6.0.1)\r\nNexus 6p (7.0)\r\nAndroid emulator (4.4.2, 5.0.1)\r\nStudio: 4.8.0.201611121409\r\nTi SDK: 6.1.0.v20161128031712\r\nAppc NPM: 4.2.8\r\nApp CLI: 6.1.0-296\r\nNode v4.4.7\r\n{noformat}\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-11-28T17:14:09.000+0000", "updated": "2016-11-28T17:14:09.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }