cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Commented] (CB-6955) href, WebView.goBack() or goForward() do not show view conponents of HTML
Date Wed, 17 Sep 2014 21:50:34 GMT


Joe Bowser commented on CB-6955:

Galaxy S2 no longer runs 4.0.4, so testing on Motorola RAZR (my crappiest 4.x device)  While
I get constant flashes of white from the rendering, goForward and goBack do work. We also
have JUnit tests that explicitly test goBack and goForward on the WebVIew, and they're passing.
 I can't reproduce it with the crap I have in front of me.  If people are experiencing it
on the S2 running Android 4.0.4, they should update, since it should at least go to Android
4.1, and 4.0.x has issues with it's core WebView.

> href, WebView.goBack() or goForward() do not show view conponents of HTML
> -------------------------------------------------------------------------
>                 Key: CB-6955
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.4.0
>         Environment: Android 4.0.4 Galaxy S2
>            Reporter: Shingo Toda
>            Priority: Minor
> This problem happens when app loads a HTML file by href, {{WebView.goBack()}} or {{WebView.goForward()}}.
> Firstly I found this problem when I did test with mobilespec. When I touch "Automatic
Test", it looks like exactly the same page is loaded. After that, if I touch a part at the
top of page where "Run All Tests" button should be, automatic test starts even though the
button is not visible. Thus, it seems that view is not rendered but actually some of the DOM
elements are loaded.
> Also, {{goBack()}} and {{goForward()}} of (Cordova)WebView object do not work properly.
Given that a page layout in application consists of two buttons and a embedded CordovaWebView.
Callback methods are registered to those buttons to call {{goBack()}} and {{goForward()}}.
Now three pages are in history and the last page is shown. Even if an app calls {{goBack()}},
the previous page is not rendered but it seems that, as described above, some components such
as buttons (in DOM) exist but are just not visible. {{goForward()}} does work likewise.
> This problem does not happen on Cordova 2.9 so I guess some changes in core modules in
Cordova Android cause this but I couldn't identified the lines.

This message was sent by Atlassian JIRA

View raw message