Version: (using KDE KDE 3.0.99) Installed from: Compiled From Sources Compiler: gcc 3.2 OS: Linux If you want to translate a page in Konqueror and you click the Tools | Translate Web Page, and then select the language, it takes you to the Altavista translate page and fills the URL in for you. But, when you click the Translate button, it gives you an error message saying, "Please enter some text to translate." So, you have to type a letter or whatever into the text box above before it will translate. This isn't a problem with other operating systems, so I'm assuming it's a problem with Konqueror's javascript interpretor. It's not really a serious bug, but quite annoying none the less, especially if English isn't your native language and have to translate pages all the time. This is a very useful feature and I wish that it didn't have this annoyance. Thanks for all your hard work, Chris Lynch
The problem is that the two <form> elements are nested (!!). So when submitting the second one (name=webtranslate), the first form's onSubmit gets triggered too (which leads to this error message). Hmm, this doesn't look like a case where the browsers move around the <form> tags. So maybe the bug is simply that the usual DOM event propagation mechanism doesn't apply for SUBMIT_EVENT? Passing on to Dirk, with testcase.
Created attachment 476 [details] A nice testcase :)
first comment without further investigating this works as designed: onsubmit bubbles. however form's shouldn't be nested either. arghlgrmbl.
Tested the test case with KDE 3.3.2a and there is still a bug present. If I press the second submit button it gives me first a small message in a new window from this button and then the same from the first button although I din't press the first one.
Same with HEAD.
*** Bug 58399 has been marked as a duplicate of this bug. ***
We render the page same as Firefox. Can we close the bug?
I managed to comment on wrong bug, sorry guys.
This still happens in svn trunk r793457, but will defer to konqueror developers to say whether it is actually a bug or not.
Still valid using: Qt: 4.4.3 + qt-copy-patches-889120 KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) kdelibs svn rev. 905636 / kdebase svn rev. 905636 on ArchLinux x86_64 - Kernel 2.6.27.10
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.