Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9719] Android: Webview: Zoom Out does not work correctly on Android ICS

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2017-07-18T22:38:06.000+0000
Affected Version/sRelease 2.1.0, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and060112
ReporterSatyam Sekhri
AssigneeEric Merriman
Created2012-06-22T02:22:10.000+0000
Updated2017-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();

Comments

  1. Shyam Bhadauria 2012-12-12

    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
  2. jithinpv 2013-03-06

    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
  3. Lee Morris 2017-07-18

    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

JSON Source