{ "id": "84325", "key": "TIMOB-6913", "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": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12093", "description": "", "name": "Sprint 2012-01", "archived": true, "released": true, "releaseDate": "2012-01-15" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-10T00:09:33.000+0000", "created": "2011-12-28T15:22:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_picker", "parity", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-06T00:39:07.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Expected Behavior\r\nThe user can scroll down and up through the picker and the labels or views, always need to be there\r\n\r\nh4. Actual Behavior\r\nWhen the user scrolls quickly some views or labels of the column picker just disappear\r\n\r\nh4. Test Case\r\n{code}\r\n\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar picker = Ti.UI.createPicker({\r\n\ttop: 30,\r\n\tleft: 0,\r\n\tright: 0,\r\n\tselectionIndicator: true\r\n});\r\n\r\nwin1.add(picker);\r\n\r\npicker.addEventListener('change', function(e) {\r\n\t \r\n\tTi.API.info(\"You selected row: \"+e.row+\", column: \"+e.column+\", custom_item: \"+e.row.custom_item);\r\n\t/*for(i in e)\r\n\t{\r\n\t\tTi.API.info('index e ->'+e+' inside e ->'+e[i]);\r\n\t}*/\r\n});\r\nvar colCountries = Ti.UI.createPickerColumn({\r\n\twidth: 50\r\n});\r\n\r\n\r\nvar coAnyRow = Ti.UI.createPickerRow();\r\nvar coAnyRow2 = Ti.UI.createPickerRow();\r\nvar coAnyRow3 = Ti.UI.createPickerRow();\r\nvar coAnyRow4 = Ti.UI.createPickerRow();\r\n\r\nvar coAnyLabel = Ti.UI.createLabel({\r\n\ttext:'Any',\r\n\tcolor:'#000',\r\n\ttextAlign:'center',\r\n\tfont:{fontWeight:'bold', fontSize:12}\r\n});\r\n\r\nvar coAnyLabel2 = Ti.UI.createLabel({\r\n\ttext:'Two',\r\n\tcolor:'#000',\r\n\ttextAlign:'center',\r\n\tfont:{fontWeight:'bold', fontSize:12}\r\n});\r\nvar coAnyLabel3 = Ti.UI.createLabel({\r\n\ttext:'three',\r\n\tcolor:'#000',\r\n\ttextAlign:'center',\r\n\tfont:{fontWeight:'bold', fontSize:12}\r\n});\r\n\r\nvar coAnyLabel4 = Ti.UI.createLabel({\r\n\ttext:'Four',\r\n\tcolor:'#000',\r\n\ttextAlign:'center',\r\n\tfont:{fontWeight:'bold', fontSize:12}\r\n});\r\n\r\ncoAnyRow.add(coAnyLabel);\r\ncoAnyRow2.add(coAnyLabel2);\r\ncoAnyRow3.add(coAnyLabel3);\r\ncoAnyRow4.add(coAnyLabel4);\r\ncolCountries.addRow(coAnyRow);\r\ncolCountries.addRow(coAnyRow2);\r\ncolCountries.addRow(coAnyRow3);\r\ncolCountries.addRow(coAnyRow4);\r\n\r\npicker.add([colCountries]);\r\n\r\n\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "24863", "filename": "Screen Shot 2011-12-28 at 3.26.29 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2011-12-28T15:22:23.000+0000", "size": 25692, "mimeType": "image/png" }, { "id": "24862", "filename": "Screen Shot 2011-12-28 at 5.06.49 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2011-12-28T15:22:23.000+0000", "size": 47450, "mimeType": "image/png" }, { "id": "24861", "filename": "Screen Shot 2011-12-28 at 5.07.14 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2011-12-28T15:22:23.000+0000", "size": 46250, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Picker labels disappear when user scrolls quickly the picker", "creator": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "subtasks": [], "reporter": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "environment": "Titanium SDK version: 1.7.5 / 1.8.0.1 / 1.9.0\r\nPlatform OS: iOS\r\nPlatform OS Version: 5.0 \r\nDevice Details: simulator \r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio Build 1.0.6.201110251616", "comment": { "comments": [ { "id": "178147", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending #1129", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T10:20:38.000+0000", "updated": "2012-01-05T10:20:38.000+0000" }, { "id": "179085", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S, iPad 2\r\n\r\nExpected behavior of picker rows not disappearing is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T11:40:40.000+0000", "updated": "2012-01-12T11:40:40.000+0000" }, { "id": "179200", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening to correct label", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T10:29:53.000+0000", "updated": "2012-01-13T10:29:53.000+0000" }, { "id": "179218", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue - required to be in 1.7.x line.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T11:59:41.000+0000", "updated": "2012-01-13T11:59:41.000+0000" }, { "id": "179224", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending #1174 for the 1_7_X branch", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T12:22:12.000+0000", "updated": "2012-01-13T12:22:12.000+0000" }, { "id": "179633", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120117114633\r\nTitanium Studio, build: 1.0.8.201201131907\r\nOS: Mac OS X Lion\r\nDevice: iphone 4S (5.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T13:26:19.000+0000", "updated": "2012-01-17T13:26:19.000+0000" }, { "id": "179634", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Updating labels", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T13:31:18.000+0000", "updated": "2012-01-17T13:31:18.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }