Version: (using KDE KDE 3.2.1) Installed from: Gentoo Packages Compiler: gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) OS: Linux write() and writeln() methods of the document object of a popup window (from the parent) don't work. I built a testcase which works on Firefox 0.8 but fails on Konqueror 3.2.1. In case someone doubts that this can be useful, here's what I'm trying to do. I'm building an error handling page. This page has links to various detailed debugging informations (backtrace, global variables, ...). The error page is generated in one shot (of course - what if the error blinks?) so popups are opened on request and filled with data. This does not work with Konqueror.
Created attachment 5802 [details] Testcase Testcase, please disable popup blocking. Should display "Test 2 passed!" in the popup window.
The testcase does not produce any output in the popup window on my konqueror 3.2.1 I have this problem, too. I use popup windows for debugging output or for providing response to the user while the main window is "busy", e.g. processing a request. The popup is opened like: var winh=window.open('','Tt','width=370,height=320,scrollbars=yes,dependent,resizable=yes'); var d=winh.document; d.open(); d.writeln('<HTML><HEAD>'); d.writeln('<STYLE type="text/css">'); d.writeln('body{font-size:100%;font-family:Helvetica,Arial;} '); d.writeln('pre{font-size:70%;}'); d.writeln('</STYLE>'); d.writeln('</HEAD><BODY>'); d.writeln('<h3>Log</h3>'); d.writeln(' <b>Hint:</b> There is no output in the main window while the test is running!'); d.writeln('<pre>'); All messages to the pop up window are written using writeln(): d.writeln('<i>Test starts...</i>'); Sometime all output is shown in the window, sometimes none and sometimes only a few lines.
Can somebody please correct the typo in the summary ("wirteln")
Created attachment 6751 [details] Testcase Another very simple testcase, showing the problem.
Confirmed in kde 4.8