{ "id": "114402", "key": "TIMOB-13870", "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": "15498", "description": "2013 Sprint 12 API", "name": "2013 Sprint 12 API", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "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-06-05T23:17:29.000+0000", "created": "2013-05-15T17:51:27.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "exalture", "module_picker", "qe-closed-3.1.2", "qe-testadded", "supportTeam" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "39540", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "134080", "key": "TIMOB-17447", "fields": { "summary": "Android: TIME Picker is too small when useSpinner is set to true", "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": "29111", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "115046", "key": "TIMOB-14007", "fields": { "summary": "Android: Font property doesn't work for Picker and PickerColumn", "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 } } } }, { "id": "39538", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134080", "key": "TIMOB-17447", "fields": { "summary": "Android: TIME Picker is too small when useSpinner is set to true", "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 } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-10-19T18:29:31.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": "When creating a date or time picker and setting useSpinner to true, the picker is very small.\r\n\r\nh4. Code to reproduce\r\n\r\n{code}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow({\r\n exitOnClose: true,\r\n layout: 'vertical'\r\n});\r\n\r\nvar picker = Ti.UI.createPicker({\r\n type:Ti.UI.PICKER_TYPE_DATE,\r\n minDate:new Date(2009,0,1),\r\n maxDate:new Date(2014,11,31),\r\n value:new Date(2014,3,12),\r\n top:50,\r\n width: 300,\r\n useSpinner: true\r\n});\r\n\r\nwin.add(picker);\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "39038", "filename": "Screenshot_2013-05-24-17-43-31.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-05-24T16:12:27.000+0000", "size": 48189, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Date picker is too small when useSpinner set to true", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.2, 2.3.5\r\nTitanium SDK 3.1.0GA\r\nNexus 4\r\nSamsung Galaxy S2", "comment": { "comments": [ { "id": "253064", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T07:44:59.000+0000", "updated": "2013-05-21T07:44:59.000+0000" }, { "id": "253348", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/4312", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T00:27:26.000+0000", "updated": "2013-05-22T00:27:26.000+0000" }, { "id": "253854", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Re-opening the issue, as it is not working as expected. I noticed two problems:\r\n\r\n1) the font size does not scale proportionally, and there is no way to change it\r\n2) if I set the picker height, the spinner is not displayed well (see screenshot)", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-05-24T16:09:58.000+0000", "updated": "2013-05-24T16:09:58.000+0000" }, { "id": "253856", "author": { "name": "mobile_developer@onforce.com", "key": "mobile_developer@onforce.com", "displayName": "Guto Dasilva", "active": true, "timeZone": "America/New_York" }, "body": "Also, you can't set the width if you set the type as Ti.UI.PICKER_TYPE_TIME", "updateAuthor": { "name": "mobile_developer@onforce.com", "key": "mobile_developer@onforce.com", "displayName": "Guto Dasilva", "active": true, "timeZone": "America/New_York" }, "created": "2013-05-24T16:14:20.000+0000", "updated": "2013-05-24T16:14:20.000+0000" }, { "id": "256312", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Already filed TIMOB-14007 for the font issue. Resolve this ticket as Fixed.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-05T23:16:57.000+0000", "updated": "2013-06-05T23:16:57.000+0000" }, { "id": "257384", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have the same problem with a date picker that is very small in a large screen.. How can I fix that ?", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-12T15:48:55.000+0000", "updated": "2013-06-12T15:48:55.000+0000" }, { "id": "262926", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "backport PR: https://github.com/appcelerator/titanium_mobile/pull/4479", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T00:30:07.000+0000", "updated": "2013-07-24T00:55:11.000+0000" }, { "id": "263028", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you for your response.. But I don't understand what I can do with that ??\r\n\r\nThank you..", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-07-24T20:34:49.000+0000", "updated": "2013-07-24T20:34:49.000+0000" }, { "id": "263033", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Chatis, if you meant the size of the date picker is small, then this PR will fix that. Now you can specify width of the date picker to make it bigger. If you meant the text font size in the date picker is small, there has been already a ticket TIMOB-14007 for that.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T20:49:48.000+0000", "updated": "2013-07-24T20:49:48.000+0000" }, { "id": "263132", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "No I meant the size of the Datepicker... But What I have to do with the PR to fix my problem ??? You told me you fixed that.. ok but how I could resolve that in my application ???\r\n\r\nThank you", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-07-25T09:05:36.000+0000", "updated": "2013-07-25T09:05:36.000+0000" }, { "id": "263913", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please, help me.... I really don't know what I have to do now..", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-07-30T11:45:58.000+0000", "updated": "2013-07-30T11:45:58.000+0000" }, { "id": "263923", "author": { "name": "mobile_developer@onforce.com", "key": "mobile_developer@onforce.com", "displayName": "Guto Dasilva", "active": true, "timeZone": "America/New_York" }, "body": "[~chatis] if you increase the fontSize of the spinner the size will increase accordingly. \r\n\r\nAlso you can set the width and height of a datepicker when you are using useSpinner = true.\r\n\r\n\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow({\r\n exitOnClose: true,\r\n layout: 'vertical'\r\n});\r\n\r\nvar picker = Ti.UI.createPicker({\r\n type:Ti.UI.PICKER_TYPE_DATE,\r\n minDate:new Date(2009,0,1),\r\n maxDate:new Date(2014,11,31),\r\n value:new Date(2014,3,12),\r\n top:50,\r\n width: 300,\r\n useSpinner: true\r\n});\r\n\r\nwin.add(picker);\r\nwin.open();\r\n\r\nlook at this ticket: http://support.appcelerator.com/tickets/APP-844764", "updateAuthor": { "name": "mobile_developer@onforce.com", "key": "mobile_developer@onforce.com", "displayName": "Guto Dasilva", "active": true, "timeZone": "America/New_York" }, "created": "2013-07-30T13:52:10.000+0000", "updated": "2013-07-30T13:52:10.000+0000" }, { "id": "265778", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~chatis] Regarding the PR (Pull request), it was integrated into the 3_1_X branch of our SDK, and so that particular fix is in any 3.1.2 build made after the PR was merged. To get the SDK, you can access the 3_1_X branch builds of the SDK via: http://builds.appcelerator.com.s3.amazonaws.com/index.html#3_1_X Alternatively you can use the titanium CLI from command-line (assuming you have it installed) by using \"ti sdk install -b 3_1_X\" also adding the \"-d\" flag will set this SDK as the one you wish to set as the default for build commands. We do not recommend going live with your application using pre-release builds, but you can for sure use the SDK to verify the fix that will come out with 3.1.2 GA.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T21:00:05.000+0000", "updated": "2013-08-09T21:00:05.000+0000" }, { "id": "265943", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you this is working with 3.1.2 but not with 3.1.1\r\n\r\nI'll wait for the stable version", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-12T12:54:53.000+0000", "updated": "2013-08-12T12:54:53.000+0000" }, { "id": "266582", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested above code and verified fix with:\nAppcelerator Studio: , build: 3.1.2.201308091728\nTitanium SDK, build: 3.1.2.v20130814124556\nCLI: 3.1.2-alpha\nAlloy: 1.2.0-alpha6\nDevice: \nNexus4 Android version 4.3\nGalaxyS3 Android version 4.0.4\n\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T23:49:15.000+0000", "updated": "2013-08-14T23:49:15.000+0000" }, { "id": "316396", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Tested with the testcase with:\r\n\r\nMobile SDK 3.3.0.GA\r\nDevice: Moto X Android Version 4.4.2. \r\n\r\nThis is still happening. Maybe a regression? Or my device with \"hd\" screen? ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-31T05:17:18.000+0000", "updated": "2014-07-31T05:17:18.000+0000" }, { "id": "316536", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "I can't modify previous comment. \r\n\r\nEnvironment:\r\nMobile SDK 3.3.0.GA\r\nDevice: Moto X Android Version 4.4.2.\r\n\r\nTestcase:\r\n{code}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow({\r\n exitOnClose: true,\r\n layout: 'vertical'\r\n});\r\n \r\nvar picker = Ti.UI.createPicker({\r\n type:Ti.UI.PICKER_TYPE_DATE,\r\n //type:Ti.UI.PICKER_TYPE_TIME,\r\n minDate:new Date(2009,0,1),\r\n maxDate:new Date(2014,11,31),\r\n value:new Date(2014,3,12),\r\n top:50,\r\n width: Ti.UI.FILL,\r\n useSpinner: true,\r\n});\r\n \r\nwin.add(picker);\r\nwin.open();\r\n{code}\r\n\r\nExtra info\r\nWe tested either with TYPE_DATE & TYPE_TIME.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-31T22:41:01.000+0000", "updated": "2014-07-31T22:41:01.000+0000" }, { "id": "316551", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "If you set the font, it will look just fine. Check the testcase:\r\n\r\n{code}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow({\r\n exitOnClose: true,\r\n layout: 'vertical'\r\n});\r\n \r\nvar picker = Ti.UI.createPicker({\r\n type:Ti.UI.PICKER_TYPE_DATE,\r\n //type:Ti.UI.PICKER_TYPE_TIME,\r\n minDate:new Date(2009,0,1),\r\n maxDate:new Date(2014,11,31),\r\n value:new Date(2014,3,12),\r\n font: {\r\n \tfontWeight: 'bold',\r\n \tfontSize:32,\r\n \t},\r\n top:50,\r\n width: Ti.UI.FILL,\r\n useSpinner: true,\r\n});\r\n \r\nwin.add(picker);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-31T23:39:14.000+0000", "updated": "2014-07-31T23:39:14.000+0000" }, { "id": "367180", "author": { "name": "jsplaine", "key": "jsplaine", "displayName": "jay splaine", "active": true, "timeZone": "America/New_York" }, "body": "~pwang, ~btran, ~rtorres - Can we re-open this? It was never fixed. Just try it on a very high resolution device, like the Nexus 9. It's way too small.\r\n\r\nFor some resolutions, using the font property helps, but it tends to make the picker columns uneven and very ugly.\r\n\r\nRunning 3.5.1.GA - here's an image that shows it without setting a font property:\r\n\r\nhttp://imgur.com/S51WoRk\r\n!http://imgur.com/S51WoRk!\r\n\r\nRunning 3.5.1.GA still - here's what it looks like when you do attempt to make it larger via the font property.\r\n\r\nhttp://imgur.com/wZ3ZBuw\r\n!http://imgur.com/wZ3ZBuw!", "updateAuthor": { "name": "jsplaine", "key": "jsplaine", "displayName": "jay splaine", "active": true, "timeZone": "America/New_York" }, "created": "2015-10-19T18:09:06.000+0000", "updated": "2015-10-19T18:09:06.000+0000" }, { "id": "367184", "author": { "name": "jsplaine", "key": "jsplaine", "displayName": "jay splaine", "active": true, "timeZone": "America/New_York" }, "body": "[~pwang], [~btran], [~rtlechuga], [~hpham] - Can we re-open this and test it against\r\nlarger resolution android devices?\r\n\r\nNote my post just above this one. If you click on the image links, it shows how unacceptably small AND visibly uneven the picker is on higher res devices.\r\n\r\nTweaking the 'font' property makes it bigger, but the columns are uneven.. It's hard for our customers to see what they're selecting because the bar is not exactly over selected values in each column.\r\n\r\nRunning 3.5.1.GA...\r\n\r\nWhile we also see issues on some smaller resolutions, Here's what it looks like with the font turned up for a Nexus 9:\r\n\r\nhttp://imgur.com/wZ3ZBuw \r\n\r\nAnd on the Nexus 9 without using the font property:\r\n\r\nhttp://imgur.com/S51WoRk \r\n\r\nIt has to be tested on large resolution devices (which are more and more common in the mobile market, many of our customers have written to us complaining).\r\n\r\nThanks and feel free to reach out directly to me if you would like to work together on this issue (james.splaine@onforce.com).\r\n\r\n", "updateAuthor": { "name": "jsplaine", "key": "jsplaine", "displayName": "jay splaine", "active": true, "timeZone": "America/New_York" }, "created": "2015-10-19T18:29:31.000+0000", "updated": "2015-10-19T18:29:31.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }