Bug 122671 - javascript.focus doesn't focus (possibly a problem with javascript.focus and frames?)
Summary: javascript.focus doesn't focus (possibly a problem with javascript.focus and ...
Status: RESOLVED REMIND
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 03:14 UTC by Avuton Olrich
Modified: 2008-05-15 04:44 UTC (History)
0 users

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 Avuton Olrich 2006-02-25 03:14:52 UTC
Version:           3.5.1 (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          GCC 4.0.2-r3 
OS:                Linux

Hello,

I wrote a little bit of javascript into my program (phpMp). My javascript focus is on the left frame. I use javascript to show the form to focus on, and I do it as it's going along, not at the head or body.

<script type="text/javascript">document.getElementById('f').focus();</script>

And it's that easy. I can see on initial page load that it focuses there, though the focus quickly (milliseconds) goes away after loading frame 2. When decending though directories (when using frame 1) the focus is quickly returned.

An example of the problem is http://olricha.homelinux.net:8080/phpMp/

Also, with all due respect this problem does not present itself in Firefox 1.5.0.1.
Comment 1 Martin Fitzpatrick 2007-01-12 23:49:07 UTC
Possible duplicate of #118886 ( http://bugs.kde.org/show_bug.cgi?id=118886 )?

Can someone else / original reporter confirm this is the same bug?
Comment 2 Christophe Marin 2008-04-06 23:46:37 UTC
http://olricha.homelinux.net:8080/phpMp/ cannot be reached anymore.

@Avuton : do you still have this issue in Konqueror ? 
Comment 3 A. Spehr 2008-05-15 04:44:28 UTC
If can give us updated information, and this still exists in a newer version, can you reopen this bug? Thanks.

If that's a testcase on your link, just attach it to the bug report, we can always use it for regression testing.