Bug 68876 - [test case] After entering URL focus goes back to current website and triggers javascript event
Summary: [test case] After entering URL focus goes back to current website and trigger...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 3.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-23 20:30 UTC by Torsten Stremlau
Modified: 2012-06-18 14:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A testcase that shows the problem (579 bytes, text/html)
2003-11-23 20:38 UTC, Torsten Stremlau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Stremlau 2003-11-23 20:30:52 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) 
OS:          Linux

On my Homepage I give focus to an input field using javascript. On "onKeyup" I submit the form.
If you are on the site and try to enter an URL in the Location field of konqueror and hit enter, the entered URL is not loaded, but the page given in the "action" field of the form in my homepage.
The problem seems to be that after entering the URL the focus goes back to the page and there the "onKeyup" event is triggered.

Here is a testcase: http://home.t-online.de/home/hstremlau/test.html
Comment 1 Torsten Stremlau 2003-11-23 20:38:41 UTC
Created attachment 3367 [details]
A testcase that shows the problem
Comment 2 Torsten Stremlau 2004-05-11 13:41:07 UTC
The bug still occours on KDE 3.2.2 and Konqueror 3.2.2
Comment 3 Torsten Stremlau 2004-08-10 23:07:15 UTC
The bug still occurs on KDE 3.3.0 RC2 and Konqueror 3.3.0 RC2
Comment 4 Michael Jahn 2004-09-07 18:37:16 UTC
Funny :-) I think this could be used for phishing :-(
Comment 5 Torsten Stremlau 2004-09-21 20:58:19 UTC
The bug still occurs on KDE 3.3.0 and Konqueror 3.3.0
Comment 6 Torsten Stremlau 2004-12-15 21:08:46 UTC
The bug still occurs on KDE 3.3.1 and Konqueror 3.3.1
As this bug can be exploitet (e.g. for phishing) I hope it'll get fixed very soon...
Comment 7 Mario Weilguni 2005-04-11 08:15:25 UTC
Seems to work fine with 3.4, could you give it a try?
Comment 8 Tommi Tervo 2005-04-11 10:25:02 UTC
I can still reproduce this with 3.4.0.
Comment 9 Torsten Stremlau 2005-04-11 20:48:41 UTC
The bug still occurs on KDE 3.4.0 and Konqueror 3.4.0
Comment 10 Anne-Marie Mahfouf 2008-04-06 15:51:08 UTC
Still exists in Konqueror 4.00.68
Comment 11 Stas Verberkt 2009-08-16 13:01:41 UTC
This seems to be a regression of the, rather ancient, bug #4070 [1]. In my opinion the fix for this bug should be changed to change the focus after the page is loaded, not at once. When a user changes the tab when a page is being loaded it shouldn't happen, tough.

[1] http://lists.kde.org/?l=kde-bugs-dist&m=95925086110903&w=2
Comment 12 Myriam Schweingruber 2012-06-18 14:12:46 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.