{ "id": "85294", "key": "TIMOB-7331", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-16T22:48:26.000+0000", "created": "2012-01-23T07:10:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableviewrow", "qe-testadded", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "19102", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97818", "key": "TIMOB-10096", "fields": { "summary": "Android: TableViewRow - Option dialog disappears after device rotation", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-07-23T14:54:19.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": "h3.Problem\r\nUnder Ti SDK 1.8.0.1 a Ti.UI picker control hosted in a table view row does not render above the active window, but rather below it.\r\n\r\nh6.Use to work on 1.7.5 (as seen in screen_1.7.5.jpg).\r\n\r\n\r\nh6.Steps to reproduce\r\n1) Run code below\r\n2) Click one of the row's buttons to open a new window. \r\n3) Click one of the row's pickers - it does not open the picker row options, when it should do - it works fine in Ti SDK 1.7.5.\r\n4) Now navigate back using the back button - you see the picker options from the previous window briefly before being destroyed as the previous window closes (as seen in screen_1.8.0.1.jpg).\r\n\r\nh6.Expected behavior\r\nSee fully operational Pickers whose options render above, rather than below the current window\r\n\r\nh6.Repro sequence\r\n{code:title=app.js}\r\nvar browserWin = require('browser').browserWin;\r\nvar browser = new browserWin();\r\nbrowser.open();\r\n{code}\r\n\r\n{code:title=browser.js}\r\nvar browserWin = function() {\r\n var win = Ti.UI.createWindow({\r\n navBarHidden : true,\r\n });\r\n\r\n // tableview\r\n var data = [];\r\n\r\n for(var i = 10 - 1; i >= 0; i--) {\r\n\r\n // create row\r\n var row = Ti.UI.createTableViewRow({\r\n });\r\n\r\n // create and add a button\r\n var button = Ti.UI.createButton({\r\n title : 'Open new window',\r\n left:0\r\n });\r\n button.addEventListener('click', function(e) {\r\n var browserWin = require('browser').browserWin;\r\n var browser = new browserWin();\r\n browser.open();\r\n });\r\n row.add(button);\r\n\r\n // create and add a button\r\n var picker = Ti.UI.createPicker({\r\n selectionIndicator : true,\r\n right : 0\r\n });\r\n var pickerRow = Ti.UI.createPickerRow({\r\n title : 'option 1'\r\n });\r\n picker.add(pickerRow);\r\n row.add(picker);\r\n\r\n data.push(row);\r\n };\r\n\r\n var tableView = Ti.UI.createTableView({\r\n data : data\r\n });\r\n\r\n win.add(tableView);\r\n return win;\r\n\r\n}\r\n// export statements\r\nexports.browserWin = browserWin;\r\n{code}\r\n", "attachment": [ { "id": "25261", "filename": "screen_1.7.5.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T07:10:05.000+0000", "size": 51595, "mimeType": "image/jpeg" }, { "id": "25260", "filename": "screen_1.8.0.1.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T07:10:05.000+0000", "size": 38697, "mimeType": "image/jpeg" }, { "id": "25259", "filename": "screen1.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T07:10:05.000+0000", "size": 41751, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: Picker nested in TableView Row not working", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: Mobile 1.8.0.1, 1.9.0\r\nPlatform OS: Android\r\nPlatform OS Version: 2.2 ", "comment": { "comments": [ { "id": "180155", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Awesome ... I noticed same issue, but didn't figure out why it's happening.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-23T07:41:10.000+0000", "updated": "2012-01-23T07:41:10.000+0000" }, { "id": "182610", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/1385", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-02-09T11:18:36.000+0000", "updated": "2012-02-09T11:18:36.000+0000" }, { "id": "182693", "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.v20120209144634\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.8.201201262211\r\nDevice: Nexus 1 (2.2.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T16:45:44.000+0000", "updated": "2012-02-09T16:45:44.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }