You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shingo Toda (JIRA)" <ji...@apache.org> on 2014/06/17 15:49:04 UTC

[jira] [Created] (CB-6955) href, WebView.goBack() or goForward() do not show view conponents of HTML

Shingo Toda created CB-6955:
-------------------------------

             Summary: href, WebView.goBack() or goForward() do not show view conponents of HTML
                 Key: CB-6955
                 URL: https://issues.apache.org/jira/browse/CB-6955
             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
(v6.2#6252)