Red Hat Bugzilla – Bug 876844
Script stops working on page
Last modified: 2015-02-25 01:23:13 EST
Description of problem:
Occasionally I get the browser warning that "a script on this page is busy or not responding..." Most often I see script no 1, occasionally others like no 2:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open project in editor
2. load new/next page in that document
Sometimes a script stops working when trying to change to a new page.
This is on FF 16
I should add that when simply clicking on "continue" instead of "stop script" on that warning, everything seems to keep working fine - new page loads, no issues.
May need to change firefox default timeout on scripts or switch to Chrome as a work around
It seems that I am experiencing same.
Warning: Script not responded
"The script of this page takes longer for processing or not responding. Choose to stop the script now or to continue.
As Chrome is not default brower, I tried to install but failed.
I'm glad you say that, Sean.
Also, I've tried the workaround and it effectively doesn't make a difference. I disabled the actual notifications a long time ago anyway, but the "freezing" (firefox window going grey) still happened. After changing the timeout value the behaviour hasn't changed, firefox still freezes for a few moments every time I load a new page (and sometimes on other occasions)
Using Chrome/Chromium instead is no option.
I haven't been able to reproduce the timeout with Firebug running yet, but if RPC deserialisation is the problem, we might just have to make multiple smaller requests.
If slow DOM manipulation is the problem, we might be able to use GWT's Scheduler.scheduleIncremental to help. But ultimately this may be unavoidable while we continue to use CodeMirror plus the current editor table based on Grid and Composite.
I should add that this happens at other times, too, not only when loading a new page of the same document.
It sometimes happens when going to a different tab in the browser (to research some term for my translation) and then going back to Zanata. It sometimes happens when pasting text into the editor. It sometimes happens when changing between search&replace and the editor. And it almost always happens when loading a new page.
Overall this is a big performance problem, and during some tasks (e.g. proofreading, going back and forth between browser tabs and different documents on Zanata a lot) I find it slows me down a lot.
BTW, my CPU is not busy doing anything else. Two browsers, Thunderbird and Xchat are running, that's usually it.
Thanks for looking into it.
Have you experienced this issue recently?
Can you help reproducing this bug to see if this is fixed or still an issue? Thanks.
I havent seen this happing in quite some time. :-)
Thanks Hedda. Closing per your feedback. If it happens again, feel free to re-open the bug.