{ "id": "83502", "key": "TIMOB-6519", "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": "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:20:57.000+0000", "created": "2011-12-08T15:39:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_window", "parity", "qe-testadded" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "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": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-04T22:09:32.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": "Adding a webview (that contains a select list) to a window with the navBarHidden property set (true or false) after the window is open caused the select list to not work.\r\n\r\nStep 1: run the code below\r\nStep 2: click on the select list\r\nStep 3: notice that the select does not pop up\r\nStep 4: remove the navBarHidden, or add a setTimeout around the add, or put the add in a window open event listener\r\nStep 5: run again and notice that the select list works fine.\r\n\r\n{code:title=app.js}\r\nvar mainWindow = Ti.UI.createWindow({\r\n\tnavBarHidden: true,\r\n});\r\n\r\nvar wv = Ti.UI.createWebView({\r\n\thtml: ''\r\n});\r\n\r\n\r\nmainWindow.open();\r\n\r\n// setTimeout(function(){\r\n\tmainWindow.add(wv);\r\n// },200);\r\n{code}\r\n\r\nh4. Workaround\r\n1. do not use a heavyweight window\r\n2. (does not always work) add the webView to the window in a setTimeout\r\n3. (does not always work) add the webView to the window in a window.addEventListener('open',function(){});", "attachment": [], "flagged": false, "summary": "Android: Adding a webView to a heavyweight window causes the select list to become unresponsive", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.5\r\nTiSDK 1.8.0.1.v20111130104443 (Rhino)\r\nAndroid SDK r15\r\nMotorola Droid 3 OS v2.3.4", "comment": { "comments": [ { "id": "179677", "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.v20120117144634\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.8.201201131907\r\nOS: Mac OS X Lion (10.7.1)\r\nDevice: Droid 3 (2.3.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T16:13:32.000+0000", "updated": "2012-01-17T16:13:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }