Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9594] Android: Webview: Flicker seen on scrolling webview after change in orientation

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-06-28T20:01:38.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-17T02:47:15.000+0000
Updated2017-06-28T20:01:38.000+0000

Description

Webviews added to a scrollableview, show a flicker on scrolling to second webview after change in orientation from Portrait to Landscape The behavior occurs since 2.0.1. This worked fine on 1.8.2 Steps to Reproduce: 1. Create application with code below and launch application in portrait mode 2. Scroll to second webview 3. Scroll back to first webview 4. Rotate device to Landscape mode 5. Swipe to second webview Actual: A flicker is seen on scrolling to second webview, which seems like a snapshot of third webview Expected: There should be no flickering effect
var _window = Ti.UI.createWindow({
	backgroundColor:'#000'
})
 var webview1 = Ti.UI.createWebView({
			url : 'http://www.appcelerator.com'
		});

		var webview2 = Ti.UI.createWebView({
			url : 'http://www.google.com',
			scalesPageToFit : true
		});

		var webview3 = Ti.UI.createWebView({
			url : 'http://www.apple.com'
		});

		var scrollableView = Ti.UI.createScrollableView({
			views : [webview1, webview2, webview3]
		});

		_window.add(scrollableView); 
_window.open();

Comments

  1. jithinpv 2013-03-01

    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
  2. Lee Morris 2017-06-28

    I am unable to reproduce this issue with the following environment; Pixel (7.1) Ti SDK 6.1.1.v20170626160851 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