{ "id": "65388", "key": "TIMOB-4111", "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": "11357", "description": "Mobile 1.8.0 M04", "name": "Sprint 2011-25", "archived": true, "released": true, "releaseDate": "2011-06-27" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-06-20T13:46:57.000+0000", "created": "2011-05-16T14:13:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ipad", "rotation", "webview" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-06-23T08:57: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": "The content of a webview will not resize when switched from landscape to portrait. Attached is a sample code.\r\n\r\nStart the app in portrait mode and then switch to landscape, the content inside the webview will resize accordingly. Now start the app in landscape mode and then switch to portrait, the content will not resize and will make the webview horizontally scrollable - not expected behavior.\r\n\r\nThis only happens with local html files, not with remote.\r\n\r\nThe customer from the helpdesk that reported this also created a video demonstrating the issue:\r\nhttp://dl.dropbox.com/u/167040/IMG_0354.m4v\r\n\r\nHelpdesk ticket: http://support.appcelerator.com/tickets/APP-147815/homepage", "attachment": [ { "id": "18502", "filename": "Resources.zip", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T14:13:44.000+0000", "size": 1661424, "mimeType": "application/zip" } ], "flagged": false, "summary": "iPad - WebView with local HTML files rotation bug", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iPad Simulator and iPad device", "comment": { "comments": [ { "id": "157205", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of invalid bug 3413. This is due to the HTML not requesting a viewport size. Paraphrasing the other bug's comment:\n\nThe HTML *must* have the following meta tag in the HTML head in order to properly size:\n\n\n\nTo compensate for the webview's width actually being _thinner_ than the device's width of 768, use the following instead.\n\n\n\nOnce the HTML was fixed to the have the proper text, web page behaved as desired.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-20T13:46:57.000+0000", "updated": "2011-06-20T13:46:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }