[jira] [Comment Edited] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672830#comment-13672830 ] Montyleena edited comment on CB-3531 at 6/3/13 5:33 AM: oh just read that we need to load about:blank before close, i am not sure i can do that. I will try to trap the "exit" event for the InAppBrowser and see if i can load about:blank before the browser closes. I will post my findings here. Regarding your point about iOS, the issue comes on Android too. was (Author: montylee): oh just read that we need to load about:blank before close, i am not sure i can do that. I will try to trap the "exit" event for the InAppBrowser and see if i can load about:blank before the browser closes. I will post my findings here. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672830#comment-13672830 ] Montyleena edited comment on CB-3531 at 6/3/13 5:31 AM: oh just read that we need to load about:blank before close, i am not sure i can do that. I will try to trap the "exit" event for the InAppBrowser and see if i can load about:blank before the browser closes. I will post my findings here. was (Author: montylee): oh just read that we need to load about:blank before close, i am not sure i can do that. Let me try this and i will post the results here > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672830#comment-13672830 ] Montyleena commented on CB-3531: oh just read that we need to load about:blank before close, i am not sure i can do that. Let me try this and i will post the results here > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672826#comment-13672826 ] Montyleena edited comment on CB-3531 at 6/3/13 5:12 AM: Thanks for the workaround idea. I will try the same (Hopefully the close event will get fired when i click the "Done" button). To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seen a warning on the browser that scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. was (Author: montylee): Thanks for the workaround idea. I will try the same (Hopefully the close event will get fired when i click close). To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seen a warning on the browser that scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672826#comment-13672826 ] Montyleena edited comment on CB-3531 at 6/3/13 5:12 AM: Thanks for the workaround idea. I will try the same (Hopefully the close event will get fired when i click close). To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seen a warning on the browser that scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. was (Author: montylee): Thanks for the workaround idea. I will try the same. To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seen a warning on the browser that scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672826#comment-13672826 ] Montyleena commented on CB-3531: Thanks for the workaround idea. I will try the same. To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seem a warning on the browser and scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672826#comment-13672826 ] Montyleena edited comment on CB-3531 at 6/3/13 5:09 AM: Thanks for the workaround idea. I will try the same. To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seen a warning on the browser that scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. was (Author: montylee): Thanks for the workaround idea. I will try the same. To reproduce this, you need to open some URL where the JavaScript takes time to load (you would have often seem a warning on the browser and scripts are slowing down the page and if we want to disable the script). The URL i am testing with is a local one. I'll post here if i come across some external URL. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672825#comment-13672825 ] Montyleena commented on CB-3530: That's great! Thanks a lot! > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672711#comment-13672711 ] ASF subversion and git services commented on CB-3530: - Commit 45d3fb2084b40fe896c86623e7e890a25764dc81 in branch refs/heads/2.8.x from Shazron Abdullah [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=45d3fb2 ] [CB-3530] PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1" > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3567) Redirect initiated in JavaScript fails the app from loading
Thomas created CB-3567: -- Summary: Redirect initiated in JavaScript fails the app from loading Key: CB-3567 URL: https://issues.apache.org/jira/browse/CB-3567 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.7.0 Reporter: Thomas Assignee: Shazron Abdullah The redirect case where `didFailLoadWithError` with `NSURLErrorCancelled` occurs before the redirected `webViewDidStartLoad` is not handled. See, link before for the details https://github.com/apache/cordova-ios/pull/57 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3566) InAppBrowser - anonymous callback functions are not called if they reference another function within the JS code
[ https://issues.apache.org/jira/browse/CB-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672544#comment-13672544 ] Ahmed Kamel commented on CB-3566: - This might only repro with 'executeScript' and not all events > InAppBrowser - anonymous callback functions are not called if they reference > another function within the JS code > > > Key: CB-3566 > URL: https://issues.apache.org/jira/browse/CB-3566 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: iOS >Reporter: Ahmed Kamel >Assignee: Steve Gill > Original Estimate: 24h > Remaining Estimate: 24h > > If the callback passes to an InAppBrowser event is an anonymous method, said > anonymous method will ONLY be called if it does _not_ reference any other > functions within the JS code. > ex: > function foo(){console.log('hello from foo');} > ref.addEventListener('loadstop', function(e){ > // this callback will not be called > console.log('hello from loadstop); > foo(); > }); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3566) InAppBrowser - anonymous callback functions are not called if they reference another function within the JS code
Ahmed Kamel created CB-3566: --- Summary: InAppBrowser - anonymous callback functions are not called if they reference another function within the JS code Key: CB-3566 URL: https://issues.apache.org/jira/browse/CB-3566 Project: Apache Cordova Issue Type: Bug Components: Plugin InAppBrowser Affects Versions: 2.7.0 Environment: iOS Reporter: Ahmed Kamel Assignee: Steve Gill If the callback passes to an InAppBrowser event is an anonymous method, said anonymous method will ONLY be called if it does _not_ reference any other functions within the JS code. ex: function foo(){console.log('hello from foo');} ref.addEventListener('loadstop', function(e){ // this callback will not be called console.log('hello from loadstop); foo(); }); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3565) Click not activated/fired if tap and release do not align
[ https://issues.apache.org/jira/browse/CB-3565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Shillitto updated CB-3565: --- Environment: Nokia Lumia 800, Windows Phone 7.8 (was: Nokia Lumia 800) > Click not activated/fired if tap and release do not align > - > > Key: CB-3565 > URL: https://issues.apache.org/jira/browse/CB-3565 > Project: Apache Cordova > Issue Type: Bug > Components: WP7 >Affects Versions: 2.6.0 > Environment: Nokia Lumia 800, Windows Phone 7.8 >Reporter: Jeff Shillitto >Assignee: Jesse MacFadyen > > When you tap on a clickable element (input, button, a), sometimes the click > does not appear to work. As far as I can tell the issue occurs when you tap > down on an element and then move your finger a very small amount, say 1mm and > then release. The grey box appears as if the mouse down is recognised but the > mouse up is not. No click is registered. > If you do the same test in the devices web browser (not PhoneGap app) it is > much more forgiving, you can move your finger slightly during a tap and the > click is still fired. > The issue is also reported here: > http://stackoverflow.com/questions/16722438/click-event-is-not-fired-every-time-on-wp7-in-a-phonegap-application -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3565) Click not activated/fired if tap and release do not align
Jeff Shillitto created CB-3565: -- Summary: Click not activated/fired if tap and release do not align Key: CB-3565 URL: https://issues.apache.org/jira/browse/CB-3565 Project: Apache Cordova Issue Type: Bug Components: WP7 Affects Versions: 2.6.0 Environment: Nokia Lumia 800 Reporter: Jeff Shillitto Assignee: Jesse MacFadyen When you tap on a clickable element (input, button, a), sometimes the click does not appear to work. As far as I can tell the issue occurs when you tap down on an element and then move your finger a very small amount, say 1mm and then release. The grey box appears as if the mouse down is recognised but the mouse up is not. No click is registered. If you do the same test in the devices web browser (not PhoneGap app) it is much more forgiving, you can move your finger slightly during a tap and the click is still fired. The issue is also reported here: http://stackoverflow.com/questions/16722438/click-event-is-not-fired-every-time-on-wp7-in-a-phonegap-application -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira