{ "id": "121271", "key": "TIMOB-15565", "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-25T22:11:02.000+0000", "created": "2013-10-16T10:28:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "map", "module", "qe-testadded", "ti.map", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-20T10:45:44.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": "h4. Problem Description\r\nWhen adding a textfield and a map in a window with Alloy, you will get a black box in the textfield when focused. \r\n\r\nh4. Test Case\r\nindex.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nindex.js\r\n{code}\r\n$.index.open();\r\n{code}\r\n\r\nh4. Steps to reproduce\r\n\r\nLaunch the application which has been attached and then perform the following test cases:\r\n\r\n1. Launch the application in landscape.\r\n2. Click on the text area.\r\n3. Keyboard is displayed (It should hide the map view entirely)\r\n4. Hide the keyboard.\r\n5. Output:\r\nA black box will be displayed in the text field area.\r\nThis is not displayed if the keyboard is not overlapping the entire\r\n map view.\r\n\r\n", "attachment": [ { "id": "43335", "filename": "device-2013-10-21-174236.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-10-21T12:09:52.000+0000", "size": 56938, "mimeType": "image/png" }, { "id": "43237", "filename": "SampleEditText.zip", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2013-10-16T10:28:48.000+0000", "size": 5325259, "mimeType": "application/zip" }, { "id": "44546", "filename": "text_landscape.JPG", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-11T10:45:43.000+0000", "size": 3056986, "mimeType": "image/jpeg" }, { "id": "44547", "filename": "text_portrait.JPG", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-11T10:45:43.000+0000", "size": 1968059, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: MapView displays a black box in TextField", "creator": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Mobile SDK: 3.1.2GA\r\nAndroid: Samsung Galaxy P7500 (ICS)\r\nGoogle Maps: V2 (2.1.2)", "comment": { "comments": [ { "id": "276705", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is an Android bug (https://code.google.com/p/android/issues/detail?id=11676). Since 4.1, Android changes their map base view from SurfaceView to TextureView, which resolves most of these clipping problems. Unfortunately, this issue still exists with older devices. I will submit a workaround to address this.\n\n", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:19:20.000+0000", "updated": "2013-10-24T23:19:20.000+0000" }, { "id": "276706", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I could not reproduce this issue using the steps described above. Here are the steps that I used to repro:\n1. Run the code in description in PORTRAIT mode on ICS devices or below.\n2. Click on the textField, keyboard should pop up.\n3. Rotate device to LANDSCAPE, observe the black box above the textfield.\n", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:23:29.000+0000", "updated": "2013-10-24T23:23:29.000+0000" }, { "id": "276714", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator-modules/ti.map/pull/16", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:49:18.000+0000", "updated": "2013-10-24T23:49:18.000+0000" }, { "id": "283793", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am able to reproduce this issue on HTC Desire v 4.0.3 using the steps mentioned by Hieu Pham.\r\nScreen shots text_landscape.jpg and text_portrait.jpg are attached.\r\nIt works fine on Google nexus 7 tab v4.3\r\n\r\nEnvironment used:\r\nTested on:\r\nDevice : Google Nexus 7, Android Version: 4.3\r\nDevice : HTC desire V , Android version : 4.0.3\r\nSDK: 3.2.0.v20131210191510\r\nCLI version : 3.2.0-cr\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.0-cr\r\nACS: 1.0.10\r\nAppcelerator Studio, build: 3.2.0.201312101708\r\ntitanium-code-processor: 1.1.0-cr\r\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-11T10:43:44.000+0000", "updated": "2013-12-11T10:45:09.000+0000" }, { "id": "284407", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix with:\r\nOSX: 10.8.5\r\nXcode: 5.0\r\nAppcelerator Studio:3.2.0.201312151544\r\nSDK:3.2.0.v20131213102445\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nDevice: Nexus 7 (v4.3) & HTC (v4.0.3)", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-16T07:14:23.000+0000", "updated": "2013-12-16T07:14:23.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }