[TIMOB-9719] Android: Webview: Zoom Out does not work correctly on Android ICS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-07-18T22:38:06.000+0000 |
Affected Version/s | Release 2.1.0, Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and060112 |
Reporter | Satyam Sekhri |
Assignee | Eric Merriman |
Created | 2012-06-22T02:22:10.000+0000 |
Updated | 2017-07-18T22:38:07.000+0000 |
Description
The zoom out control on Webview does not function correctly on Android ICS. The zoom out gets disabled before complete zoom out.
Not a regression. This occurs as far as 1.8.2
Steps to reproduce:
1. Create an application with a webview
2. Launch the application
3. Double tap on the screen to show view at min size / rotate the device
4. Now click on the Zoom in button (+) more than once
5. Next start Zoom out (-)
Actual: After 2-3 clicks on zoom out, the zoom out would get disabled. Wait for the zoom control to hide. Swipe on the screen would again show the zoom control but with zoom out enabled again.
The above cycle would continue until the view completely zooms out.
Expected: The zoom out control should be enabled till it completely zooms out
Titanium.UI.setBackgroundColor('#000');
var win = Ti.UI.createWindow();
var webview = Ti.UI.createWebView({
html: '<html><body><b>this is a test html......</body></html>'
});
win.add(webview);
win.open();
This issue is also occurring on Nexus 7 Android 4.1 with the following environment: Titanium SDK:3.0.0.v20121211130203 Titanium Studio:3.0.0.201212071410
Issue reproduces with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4
Verifying that has been fixed as I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131