Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24215] Android: Webview performance is different on scrollable content from Ti 3.2 to Ti 6.0.0GA

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
Reporter Ricardo Ramirez
AssigneeUnknown
Created2016-12-13T00:32:59.000+0000
Updated2018-02-28T19:55:52.000+0000

Description

H5. Issue Description The web view that loads the content is very slow. It is much slower then before. Trying any URL including appcelerator homepage and no matter what It loads even simple homepage with limited resources the scrolling a painfull The same webview was used on Ti SDK 3.2 a year ago to produce the same app structure for the app called "Allt om" in Google Play. That app with same prerequisite is scrolling just fine. So something happened during this way. even set the border radius to 1 to enable SW render is not working. So in summary, the same app build with Ti 3.2 a year ago produced a web view and content that was scrolling and loading just fine (see the app "allt om" at google play sweden https://play.google.com/store/apps/details?id=se.alltomvasterbotten) but the same code now produces a super slow web view which has problems scrolling. I even tried to set the same URL (allt om) and it produces a slow web view..

Steps to reproduce

Download the code

Run

Scroll and compare the performance with the https://play.google.com/store/apps/details?id=se.alltomvasterbotten app

Attachments

FileDateSize
aov-app-2.zip2016-12-13T00:32:53.000+0000706400

Comments

  1. Gary Mathews 2016-12-14

    I couldn't get your app to run correctly, but I looked at the code and narrowed it down to this:
       var w = Ti.UI.createWindow(),
           wv = Ti.UI.createWebView({url: 'http://event.katrineholm.se/?app=true'});
       w.add(wv);
       w.open();
       
    The scrolling performance seem fine, I'll check to see if there's anything your app is doing that might affect this.

JSON Source