{ "id": "117589", "key": "TIMOB-14654", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-28T21:51:45.000+0000", "created": "2013-07-25T10:52:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Titanium", "android", "mobilesdk", "picker", "qe-testadded" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T06:49:52.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": "In Android if we create a picker and set the picker row text some large value that can not be set in a single line. Then picker selectedRow lighter does not highlight complete selected row.\r\n\r\n*Sample code to test issue**\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n title : 'Picker Demo',\r\n backgroundColor : '#fff'\r\n});\r\n\r\nvar overlay = Ti.UI.createView({\r\n backgroundColor : '#000',\r\n opacity : 0.2\r\n});\r\nvar column = Ti.UI.createPickerColumn();\r\nvar data = [\"This is for testing purpose only\", \"Development purpose\", \"Multiple column Pickers with type plain, date and time pickers\"];\r\nfor (var i = 0, ilen = data.length; i < ilen; i++) {\r\n\r\ncolumn.addRow(Ti.UI.createPickerRow({\r\n title : data[i]\r\n}));\r\n}\r\nvar picker = Ti.UI.createPicker({\r\n type : Ti.UI.PICKER_TYPE_PLAIN,\r\n //width : Ti.UI.FILL,\r\n selectionIndicator : true,\r\n bottom : 0,\r\n columns : [column],\r\n useSpinner : true\r\n});\r\nvar container = Ti.UI.createView({\r\n bottom : 0,\r\n layout : 'vertical',\r\n height : Ti.UI.SIZE,\r\n width : Ti.UI.FILL\r\n});\r\n\r\nvar backgroundView = Ti.UI.createView({\r\n height : Ti.UI.SIZE,\r\n width : Ti.UI.FILL,\r\n backgroundColor : 'transparent'\r\n});\r\nbackgroundView.add(picker);\r\ncontainer.add(backgroundView);\r\n\r\npicker.setSelectedRow(0, 1, false);\r\n\r\nwin1.add(overlay);\r\nwin1.add(container);\r\n\r\nwin1.open();\r\n{code}\r\n\r\nSteps:\r\n1: Use the sample code in a Titanium Project and put it on app.js file.\r\n2: Test the sample on any android device(preferred is Samsung S3 and Nexux).\r\n3: Picker selected row highlighter does not highlight complete text.\r\n", "attachment": [], "flagged": false, "summary": "Android: Picker selected row does not highlight multi line text completely", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile Application, Android, Mobile SDK.", "comment": { "comments": [ { "id": "276846", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4855", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-25T20:38:41.000+0000", "updated": "2013-10-25T20:38:41.000+0000" }, { "id": "277041", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR + FR", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-28T21:51:45.000+0000", "updated": "2013-10-28T21:51:45.000+0000" }, { "id": "279253", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified verified on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311122029\nTitanium SDK, build: 3.2.0.v20131112123038\nCLI: 3.2.0\nAlloy: 1.3.0\nAndroid Emulator: 2.3.3, 4.0.3 and 4.4\n\nPicker highlights the complete row properly.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T23:45:42.000+0000", "updated": "2013-11-12T23:45:42.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }