Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11910] iOS: WebView - rendering issue after remote URL is opened

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-10-18T19:31:55.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-ios100112, usability
ReporterOlga Romero
AssigneeEric Merriman
Created2012-11-30T20:01:02.000+0000
Updated2017-03-23T19:02:52.000+0000

Description

Description: While testing Web view, I noticed rendering problem when page content is changing. There is a partial black screen appearance before the next view displayed. It happens on iPhone5 and iPad mini with iOS 6.0. iPad3,4 do not have this issue. This issue disappears after pinch/zoom of the view. *not a regression*, occurs in 2.1.4 looks like devices specific. Test stept: 1. Run the code below:
var win = Ti.UI.createWindow({  
    backgroundColor:'#fff'
});
win.open();

var button1 = Titanium.UI.createButton({
		    top: 330,
		    title: 'Open Remote URL With Spinner',
		    style: Titanium.UI.iPhone.SystemButtonStyle.BORDERED
		});
		 
		button1.addEventListener('click', function(e) {
		    var webview = Titanium.UI.createWebView({
		        top: 0,
		        width: 320,
		        height: 320,
		        url: 'http://www.appcelerator.com', 
		    });
		     
		    win.add(webview);
		});
		 
		win.add(button1);
2. Watch a view behavior. Actual result: Black screen appearance before view change. Expected: Proper render of views.

Comments

  1. jithinpv 2013-03-26

    Issue reproduces Tested 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) iOS iPhone Simulator: iOS SDK version: 6.0
  2. Hans Knöchel 2016-10-18

    This issue cannot be reproduced in Titanium 5.5.1.GA and iOS 7, 8, 9, and 10.
  3. Lee Morris 2017-03-23

    Closing ticket with reference to the above comments.

JSON Source