App freezes out post if JS alert is not rejected

Hello

I noticed that with a simple application that contains a WebView, if a Javascript alert appears, did not not reject while the app is closed, lfwa remains semi transparent on the dashboard BB10 and cannot be reopened.

It is a simple code QML containing a WebView with a button that displays an alert:

WebView {

    html: "
            "

} //webview

The developer during a test/debugging solution is opening the prospect of system information and sending a signal SIGTERM app.

This problem is similar to that of this other thread

http://supportforums.BlackBerry.com/T5/Cascades-development/Beta-4-WebView-app-freeze-post-exit/TD-p...

but I learned to make a new thread.

Kind regards

Pepe

This usually indicates a memory problem or a process without end.

If the code you have posted is really all to reproduce that so it's a bug of BB10 and you must present JIRA.

Tags: BlackBerry Developers

Similar Questions

  • Several Apps Freeze and Crash on iOS10

    First of all, I found my new gel 7 phone iPhone app from time to time.

    Sometimes it will crash and reboot itself. Sometimes I had to force him to leave.

    After the application restarts, it seems normal for a while and then freeze again in a few minutes.

    It is totally unacceptable for me!

    Basically I would find almost everytime when I needed to make a phone call, the app being frozen!

    Later, I found the iPhone 6, I am about to trade has the same problem.

    Secondly, when I was chatting with the support of Apple using Safari on the phone, the Safari app crashed twice in the middle of the conversation!

    Third, when I tried to copy the accident report in settings-> privacy-> diagnosis...-> diagnosis...-> battery + MobilePhone... to send to a friend who works for Apple, the application of Crash parameters!

    Updating to 10.0.2 did not help at all.

    Tried to reset everything and restart as a new phone and the problem still there.

    My friend Apple also reproduced the crash of the settings on his own iPhone 7

    I lost at least 10 hours in the last two days to solve this problem.

    I think that iOS10 is really messed up this time.

    I hope they can fix this as soon as POSSIBLE, otherwise I see Apple in big trouble.

    BTW, iPhone 5 s and 5 members of my family do appear to be unaffected.

    Some additional findings: parameters of the application crashes under iOS9

    I just reproduced it on iPhone a friend 6.

    It happens also on the iPhone 5 and 5 years. Every iPhone has essentially, this "feature"!

    Everyone can try:

    Step 1: Open a * great * incident report file under:

    Settings-> privacy-> diagnosis & use-> diagnosis & UsageData

    Choose the one which starts by "battery +".

    Step 2: Press and hold anywhere in the text to start to select

    Step 3: Quickly slide the end switch completely to the bottom of the screen

    The application should freeze now.

    If it is not the case, try to scroll down, and slide the switch a few times more, it will be.

    The phone is not fixed. You can always click on the home button, move on to other applications.

    In fact, if you wait about 70 seconds, the app will unlock by itself.

    If you go away or go into sleep mode, the Apple will crash.

    It is an obscure usage case, but it may have a connection any with the collapse of some other applications granted.

    The important thing is that it is * very reproducible! *

    And he keeps me to send accident report to other people.

    If we have people from Apple here, they should really take notes!

  • Safari and mail app freeze 9.2.1 ios and ios 9.3

    Safari and mail app freeze on my ipad mini 4 (9.2.1 ios and ios 9.3) in these last two days each time if I touch to create a link in the email or on the web page.

    I tried to turn off the power of java script in safari... always gel

  • I can't copy pictures or videos of my Photos updated app. If I try to export the app freezes. When I try a copy/paste or do drag function only a miniature photo is placed in the destination. Is there a solution?

    Photos app freezes when I try to export photos or videos.   When I try a copy/paste or do drag function only a photo thumbnail is generated on the destination.  Is there a solution?

    Welcome to the Apple community.

    Try to repair the library holding down ⌥ ⌘ at the launch of the app.

  • The creative cloud app freezes at startup.

    Since the upgrade to 2015 my cloud CC app freezes up. I was able to see the valuation but had a few updates of windows install so I only have the first. then I went back to the cloud to upgrade and it freezes at the beginning with the star animation

    Hi Hugo,.

    Please, try the following steps:

    (1) uninstall Adobe CC (https://helpx.adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html)

    (2) restart the machine.

    (3) install the latest Adobe Creative cloud version from the link: CC help | Creative cloud desktop


    Kind regards

    Sheena

  • Alert does not work

    Hello!

    I have a few fields of digital type in which the user must enter a number whithin a given range, I want that if the user enters a number that is out of range, an alert appears and after that, the focus is on the same ground. Also, I need that the user must be able to leave the field empty.

    So far, I have the following code

     form1.Subform4.NumericField11::exit - (JavaScript, client)
    
    
    if (this.rawValue < 3 || this.rawValue > 7 && !(this.rawValue == "")){
              app.alert("Values is outside the allowable range") 
              this.rawValue = "";
              xfa.host.setFocus("form1.Subform4.NumericField11"); 
    }
    

    If the user enters a number outside the range, the alert and the focus is set on the same domain, so it can enter the correct number of s. But if the user leaves the field blank the alert anyway.

    Any ideas?

    Thank you!

    It works fine:

    if (this.rawValue < 4.5 || this.rawValue > 7 ){
              if (this.rawValue != null){
                        app.alert("Values is outside the allowable range");
                        this.rawValue = null;
                        xfa.host.setFocus("this");
              }
    }
    

    Or with the syntax of Kyle:

    if (this.rawValue < 4.5 || this.rawValue > 7 ){
              if (!this.isNull){
                        app.alert("Values is outside the allowable range");
                        this.rawValue = null;
                        xfa.host.setFocus("this");
              }
    }
    

    Kind regards Mandy

  • Storm knocked out of power; Restart the Mail "not responding". Now what?

    The storm knocked out power. When iMac is restarted, Mail App "did not." Similarly, trying to update Apps on OS X El Capitan, iTunes "is not responding." Face w / endless inaction, force them to leave. try again, force them to leave again. How do I return Mail? How do we install the updates?

    If you haven't done so already, please try first this simple step .

  • iOS 9.2 translates freezing screens and the 'home' button does not

    I have problems and more from Friday December 11 when I've upgraded to iOS 9.2.

    Device: iPhone 5 s

    Problems:

    -Screen freezes randomly reboot * required (sometimes restart by the camera itself)

    -Sometimes device reacts very slowly on the command (or even then restarts)

    -For the most part within the first hour when used, sometimes immediately (after restart)

    -Cannot slide or apps to react when I touch

    -AssitiveTouch on, keep available however to move and opening, but no order accepted when the screen is in gel

    Resolution of problems so far:

    -Reset all settings (no result)

    -Backup on iTunes (11 dec)

    -Erase content and settings and restore the backup to iCloud (10 Dec *) (no result)

    -Erase content and settings and restore the backup of iTunes (11 dec) (no result)

    -Tried with the new iPhone camera 6 and restore backup icloud (unsuccessfully; restore hangs at "1 minute remaining")

    -Tried with the new iPhone camera 6 and restore backup of iTunes (no result: same freezing questions reappear)

    Conclusion date: is not a hardware problem (device), but one software: combination of the configuration (such as backup) and the new iOS 9.2.

    By the way: I guess that not possible to restore 9.1 on the device.

    The new iPhone 6 initially contained iOS 9.1, but then did not 'see' backups, because they were made from a 9.2 iOS device.

    So I had to first install the iPhone 6 as a new iPhone, upgrade to iOS 9.2 and then I was able to reset and restore the backup (with no good result, as described above).

    *) restarts: hold Home-button on/off-button simultaneously for 10 seconds

    backup *) in the form of clouds 10 Dec worked without problem on iOS 9.1.

    I will continue to investigate on removing the apps installed a year or two, see if that generates the result.

    After a few reboots and removal of some applications (for example, OneDrive), my iPhone 6 preformed well for a few days.

    However, it seemed that my search bar for the application of Messages and Notes app has not produced all realistic either.

    I then did a reset again and after that, it al returned to the freezing and bogged down again

  • I can't access the itunes store. It telling me that my network connection has timed out or my network settings are not correct.

    Original title: problems with itunes

    I have recently purchsed an ipod and downloaded the itunes program.  Everything seems to work fine except or the fact that I can not access the itunes store, so have created new problems.  It telling me that my network connection has timed out or my network settings are not correct.  What settings should I have on, how can I make this work?

    Hello

    The reason for not being able to connect to the iTunes store may be due to the "hosts file" blocking the iTunes Store, or it can also be caused by security software, most likely, it might be Norton Firewall.
    Step 1:

    Note: Please make sure that you enable the antivirus/firewall software after the test to keep your computer protected.
    Step 2:


    See the link below for more details:
     
    Unable to connect to the iTunes Store
    http://support.Apple.com/kb/TS1368#win24

    Follow the steps in troubleshooting mentioned in the above article. If the steps listed in the article do not resolve the problem, contact the Support Apple technique.
    http://www.Apple.com/support/
    http://www.Apple.com/contact/
    http://discussions.Apple.com/category.jspa?categoryID=149

    Can run the fixit tool mentioned in the link below:
    http://support.Microsoft.com/kb/972034/en-us you can try to disable the firewall completely or include an exception for the iTunes application in the firewall and check for the issue.
    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Database alert is not triggered when the Oracle database monitor by mistake.

    Hello

    Database alert is not triggered when the monitor of the Oracle database by mistake. If we test the alert manually alert works correctly. Could someone let me know the solution for this.

    This isn't a question of PC or operating system. You should post your questions in the forums of Oracle database.

  • The background thread alert does not work

    Hello

    I have read the article http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/... and followed the instructions to display the background thread alert. However, the alert is not displayed and IU locks (freezes). Specifically, the event of click/touch does not work, but the background thread continues to run.

    Structure of my program. The main class (with the main function) extends UiApplication. I create in the function main instance of the class that extends the Application. This class starts backgorund wire. I am missing something or making the wrong way?

    Sorry I have expired, I was going to write a long response to this.

    But in short, remember that your automatic boot process and your user interface process, both through main with different parameters and are the BlackBerry is concerned, different applications.  So it may be an Application, the other can be a UiApplication, and both can enterTheDispatcher.

    No two instances of the same Application, they are two different Applications.  They can be of different instances of the same Application class, but it is a special case.  It depends on what you create in the main routine.

    You can play a merry dance with such things.  For example, having a UiApplication be started by the automatic boot process, and then the boot gui process can find it and just put in the foreground, rather than creating a new UiApplication.

    Generally however people create a request and a UiApplication.  The problem with the use of these different applications, is that things like static are not shared.  Therefore, use something like RuntimeStore to share data.  It is a pain and something that if I can avoid.

    It is perfectly possible to have a UiApplication, which starts when the device starts, runs Background Threads that are working in a network and is bought in the foreground by clicking on an icon.  Code is more complicated, but not much.  And you must have complicated the code when you run the network Threads background to deal with the unit off power and then power anyway.

    Hope that clarifies somethings.

  • error on the printer hpphotosmart 5510 says out of paper and it is not. How can I fix it

    Error on the photosmart printer 5510 says it is out of paper and it is not. What is the process

    Hello

    1. what was the last time that the printer has worked well?

    2 did you a recent software or changes to the material on the computer?

    I suggest to go through the steps from the link provided and check.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    See also:

    "HP Photosmart 5510 e - all-in - One Printer Series - a Message ' Out of paper ' is displayed on the control panel and the all-in-one can't paper problem

    http://bizsupport1.Austin.HP.com/bizsupport/TechSupport/document.jsp?lang=en&cc=us&TaskID=110&prodSeriesId=5053904&prodTypeId=18972&ObjectID=c02911348

    You can also contact the manufacturer of your computer for known problems:

    Contact HP

    http://h20000.www2.HP.com/bizsupport/TechSupport/ContactHP.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=3745837

    Hope this helps and keep us posted.

  • I paid £8,57 for photoshop cc 2015 already. I have a cornfirm email to buy site why I cannot accese to my App. how I can do but I'm not paying for this application two times per hour, I said... Thank you

    I paid £8,57 for photoshop cc 2015 already. I have a cornfirm email to buy site why I cannot accese to my App. how I can do but I'm not paying for this application two times per hour, I said... Thank you

    Check your account indicates the subscriptions that you expect (and that the adobe, used in the next step id is correct) by logging in here and checking the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    If you don't have the cc desktop application, retrieve it and use it to install your programs cc/tests, https://creative.adobe.com/products/creative-cloud

  • I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application also does not work for my site

    I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application does not also work for my site.

    Settings > privacy > location Services > confirm you always give permission to these applications to use your location.

    If not, try these standard troubleshooting steps.

    -Reset: hold the Home and Power buttons until you see the logo Apple (10-15 seconds).

    -Restore your iDevice: https://support.apple.com/en-us/HT204184

    If your backup is in iTunes, make sure that it is encrypted.

  • The apps of Podcasts and find my friends does not update in iTunes

    The apps of Podcasts and find my friends does not update in iTunes.

    Applications appear in iTunes as with updates, but iTunes says "Podcasts is available only on iOS.

    I usually never use the app store on my phone and always update of applications via iTunes.

    Please fix this bug.

    You see these warnings by mistake. These applications can only be updated as part of updating to iOS without iTunes.

    You can ignore the warnings or remove the two apps to iTunes. This will not affect these applications on your iDevices.

Maybe you are looking for

  • Messages can be saved in MY folder of Documents (receipts, etc.)?

    I get email received from a store, that I care and updated on day of the Bible. I have created two folders under My Documents and I wish I could move the emails received to these folders.

  • Where to find graphics drivers for Equium L100

    Hellothe disc of recovery for this laptop has been lost and the only available drivers seem to be for vista.I downloaded the ATI 200 M of ATI card, but they will not - install say can not find the drivers for this hardware. Any comment appreciated pl

  • Network cannot find the printer

    I have a laptop under Windows XP/Pro/SP3 and access the internet via a wireless (Linksys WRT54G Router). I connected a printer multifunction all-in-one of HP6310 to the router, using an ethernet cable and then installed HP6310 software on the laptop.

  • OfficeJet Pro 8620:8620 all in one printer color printing incorrect, even if the quality is good on tests

    My printer is only about a year and I had no problem with him until more recently. I only use hp ink cartridges. It prints color orange when I want to print the colors pink and Red/pink when I want to print Brown. Most of the other colors print norma

  • Loss of the internet

    I keep losing my internet connectivity. I use a modem and router and they work.  Almost every other day I lose the connection. Reset of the router and the modem does not work. I have to restart.  My other computer with windows 7 is connected and work