incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-865) Reopening app after calling exitApp() does not render HTML page completely
Date Tue, 05 Jun 2012 20:57:23 GMT

     [ https://issues.apache.org/jira/browse/CB-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser resolved CB-865.
---------------------------

    Resolution: Cannot Reproduce

I can reproduce this with the example.  However, when I delete the non-Cordova Javascript,
I find that the problem goes away and that this works.  Of course, I have to put 5 paragraphs
of Lorem Ipsum in the document to verify that it is working.

It's very likely that the code that you are currently running is overwriting the existing
dom, since the app has exited and not stopped.  I'm not familiar enough with jqTouch to blame
it for this, but the hint is that if the WebView was shrunken down, I should be able to scroll
the WebView.

Unfortunately, this issue doesn't seem to be on our end.
                
> Reopening app after calling exitApp() does not render HTML page completely
> --------------------------------------------------------------------------
>
>                 Key: CB-865
>                 URL: https://issues.apache.org/jira/browse/CB-865
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.3.0, 1.4.0, 1.5.0, 1.6.0
>         Environment: Apparently can be reproduced on Android 2.3 Emulator with PhoneGap
1.6.
> Physical devices: Samsung galaxy SII, Nexus S. 
>            Reporter: Filip Maj
>            Assignee: Joe Bowser
>
> Needs verification.
> From google groups: https://groups.google.com/group/phonegap/browse_thread/thread/7eb8381279d669a9
> Other pertinent info:
> I'm facing a weird bug : i've bound the physical return button to 
> navigator.app.exitApp() in order to exit the app. 
> It works fine, but when i'm returning in the app, the display is not fully 
> displayed, the app seems to works fine, but only 2/3 of the page is 
> displayed, the other 1/3 displays only the background color. 
> Image: http://www.google.com/url?sa=D&q=https://lh3.googleusercontent.com/-TqCEKYJFvr0/T8jg8TFZQBI/AAAAAAAAH64/qMt5bdahVh0/s1600/bugandroid.png&usg=AFQjCNHs8SWcWpwcC7GTsODymZ9d8VM6kg
> I noticed that this space is not always the same, i can navigate to other 
> page of my app and some have a bigger space (equivalent to the keyboard), 
> some pages are totally fine (no space at all), and some have a smaller 
> space than the keyboard. And some page doesn't work at all. I use JQTouch 
> if it can helps. 
> It's really weird. I checked the adb log i'm not finding anything usefull. 
> This is the same behaviour in the emulator and in my two devices. 
> Wow, that's weird. When i attach weinre the bug disappear, the app works like a charm.
I can resume it and come back without any problem.... 
> My app use only portrait mode 
> Actually, putting a <script src="thisdoesntexist.js"></script> cause the

> app block a little bit the loading, and resolve the problem... 
> And if i put this hack on the bottom of the page, it doesn't make the app 
> slower, and it resolve the problem.. 
> But still want to find a better workaround ;-) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message