Bug 116957 - javascript-debugger locks windows in circularily
Summary: javascript-debugger locks windows in circularily
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 3.4.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 15:50 UTC by arne anka
Modified: 2012-06-18 14:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2005-11-23 15:50:28 UTC
Version:           3.4.2 (using KDE 3.4.2, Debian Package 4:3.4.2-4 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.13

enabled javascript-debugging and goot on load of my page two error-popups with the question wheter i want to debug. clicked debug on the first one.
- js-debugger opened, but did not get focus
- konqueror loses focus
- second error-popup remains on top but ignores input.

thus i'm stuck with three windows each unable to do anything.
this is the javascript-code causing the first error:

<!--
var MeinFenster;
function new_window(what)
  {
     MeinFenster = window.open('LockForm.php?op=new&open=new&what=' + what, '_blank', 'width=650');
  }

var aktiv = window.setInterval("CHECK()", 100);
var i = 0, inter = 1;
// Die Funktion ist überflüssig
function CHECK () {
  if (inter == 1) {
    ist_zu();
    inter = 2;
  } else {
    ist_zu();
    inter = 1;
  }
  i = i + 1;
}

function ist_zu()
  {
    if(MeinFenster.closed == true)
      {
 // Fenster geschlossen,
// location.href="ShowDetails.php?bla=ok";
 window.location.href="ShowDetails.php?bla=ok";
      }
  }

window.setTimeout("ist_zu()", 1000);

//-->
Comment 1 Beat Wolf 2006-07-24 10:11:36 UTC
i can confirm this, i had the same error just before with another code.
Comment 2 illogic-al 2007-01-06 21:50:38 UTC
This might be a KWin problem because of your focus stealing prevention settings. Please attach a valid html file with the offending code. 
Comment 3 arne anka 2007-01-08 08:53:18 UTC
as this bug is rather old and i do not use konqueror anymore for web-development, i can not provide any further informations.
maybe the author of #1 can?
Comment 4 lexual 2007-03-06 01:16:32 UTC
Feedback timeout.
This bug will be reopened if additional information is provided.
Comment 5 Raúl 2007-11-19 17:22:32 UTC
Feedback timeout? Funny expression.

Well, in this case I feedback. This bug still happens as original reporter explained.

If you have 2 or more JS errors with at least one of them allowing you to start JS debugger and you choose debugging on at least one. Focus won't be able to reach back either JS debugger or konqueror. The only solution is killing konqui.

Thanks.
Comment 6 Raúl 2007-11-19 17:23:04 UTC
I forgot. Please reopen.
Comment 7 Tommi Tervo 2007-11-19 19:20:11 UTC
Reopen as it seems to be reproducible.
Comment 8 Myriam Schweingruber 2012-06-18 14:07:11 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.