Version: 3.1 (using KDE KDE 3.1) Installed from: Gentoo Packages Compiler: 3.2 OS: Linux hi, when clicking on an link with the combination of target="_blank" and onClick="open('...'), a new tab is opend with page2, but the tab with page1 becomes empty! expectate behavior: a new tab with page 2 is open but page 1 is still shown in the first tab. i wrote this little example: # here is page1.html <html> <head><title>Konquitest</title></head> <body> <p>This is page 1</p> <p>click on the link. a new tab ist opened with page2.html and <b>this</b> page becomes blank!</p> <p>click this link: <a href="page2.html" title="Next page..." target="_blank" onClick="open('page2.html','video','width=600,height=427,scrollbars=auto,resizable,menubar=no,location=no,directories=no,toolbar=no,screenX=150,screenY=100').focus();return false;">Go to page 2</a></p> </body> </html> #here is page2.html: <html> <head><title>Konquitest</title></head> <body> <p>This is page 2. please look at tab 1</p> </body> </html> greetings gunnar
confirmed
Created attachment 4204 [details] test case
confirmed still in konqueror 3.2.2 (kde 3.2.2) additional behavior: page2.html is opened in 2(!) tabs.
confirmed: page1 is empty after click (but Ctrl-U show full source) page2 opned in popup and _blank if you remove .focus() then page1 is empty and page 2 opened in popup <p>click this link: <a href="page2.html" title="Next page..." target="_blank" onClick="open('page2.html','video','width=600,height=427,scrollbars=auto,resizable,menubar=no,location=no,directories=no,toolbar=no,screenX=150,screenY=100');return false;">Go to page 2</a></p> KDE Version 3.3.2 (KDE 3.3.2, (3.1)) Application Web Browser/File Manager Operating System Linux (i686) release 2.6.8-2-k7 Compiler gcc version 3.3.5 (Debian 1:3.3.5-8)
Confirmed with KDE 3.5.2, debian sid.
Confirmed with trunk r793971
Confirmed with 4.5.4, updating version.
Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann