[TIMOB-14879] Android: webview loading spinning indicator is not shown setting/not setting a backgroundColor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.2 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-3.1.2, reprod |
Reporter | Priya Agarwal |
Assignee | Unknown |
Created | 2013-08-14T09:58:57.000+0000 |
Updated | 2018-02-28T20:03:59.000+0000 |
Description
This is not a regression. Since the issue occurs in 3.1.1GA also.
Opening a PDF inside a webView, a loading indicator should be shown before the PDF is displayed.
var win = Ti.UI.createWindow({
title:'test'
});
var data=[{title:'open pdf!'}];
var tw = Ti.UI.createTableView({
data:data
});
tw.addEventListener('click', function(e){
var webview = Titanium.UI.createWebView({
backgroundColor:'white',
url:'http://www.appcelerator.com/assets/The_iPad_App_Wave.pdf'});
var win2 = Titanium.UI.createWindow();
win2.add(webview);
win2.open({modal:true});
});
win.add(tw);
win.open();
Expected Result: Spinning indicator must be shown.
Actual Result: No spinning indicator is shown.
Our kitchensink example does not support display of a PDF in a webview. Will investigate our capability here.
I am able 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