{ "id": "93211", "key": "TIMOB-9536", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-19T06:09:09.000+0000", "created": "2012-06-14T04:41:16.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:39:13.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": "On Android Tab device, the html in the webview changes zoom level after device rotation from portrait to landscape and back to portrait orientation\r\n\r\nThis is not a regression. The issue occurs as far as 1.8.2\r\n\r\nThe issue occurs only on Android Tab. The behavior was not seen on Galaxy Nexus (V4.0.2) and Motorola Milestone (V2.2)\r\n\r\nSteps to Reproduce:\r\n1. Create application with the code below\r\n2. Run app on Android Tab with device in portrait mode.\r\n3. Rotate device to landscape mode\r\n4. Again rotate the device back to portrait mode\r\n\r\nActual:\r\nAfter Step 4, the zoom level of the html changes. Refer to attached screenshot for Webview_beforeRotate and Webview_afterRotate\r\n\r\nExpected:\r\nThe rotation of device should not change the zoom level of webview\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\n_window.backgroundColor = 'white';\r\nvar loremIpsum = \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec \" + \"faucibus vulputate lorem ac suscipit. Ut sit amet felis a metus mollis egestas at ac erat. Sed nec \" + \"urna urna, nec posuere justo. Cras nec malesuada orci. Donec interdum, elit vel consequat lacinia, \" + \"dui est convallis sem, nec lobortis nibh magna ac metus. Morbi sapien tellus, aliquet in convallis \" + \"in, viverra sit amet justo. Cras vitae erat vitae erat blandit porttitor ac faucibus libero. Mauris \" + \"sollicitudin, risus sit amet luctus consequat, lectus lorem sagittis sapien, at eleifend eros felis \" + \"eu elit. Mauris ut nibh leo, vel tempus sem. Vestibulum ante ipsum primis in faucibus orci luctus \" + \"et ultrices posuere cubilia Curae; Suspendisse eu lacus at ligula venenatis vestibulum.\";\r\n\t\tvar webview = Ti.UI.createWebView();\r\n\r\n\t\twebview.html = loremIpsum;\r\n\t\t_window.add(webview);\r\n\t\t_window.open();\r\n{code}", "attachment": [ { "id": "28345", "filename": "Webview_afterRotate", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T04:41:16.000+0000", "size": 35295, "mimeType": "application/octet-stream" }, { "id": "28346", "filename": "Webview_beforeRotate", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T04:41:16.000+0000", "size": 65343, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Android: WebView: The html of the webview changes zoom level after device rotation", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.0.201206121914\r\nTitanium SDK: 2.1.0.v20120613192252\r\nAndroid Device: Android Tab GT-P6200 (V3.2)\r\nRuntime: v8", "comment": { "comments": [ { "id": "242854", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n\r\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T06:09:09.000+0000", "updated": "2013-03-19T06:09:09.000+0000" }, { "id": "413569", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:39:13.000+0000", "updated": "2017-03-17T18:39:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }