Bug 118886 - [test-case] input field and js .focus() doesn't work in frames
Summary: [test-case] input field and js .focus() doesn't work in frames
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 3.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 02:40 UTC by Anton
Modified: 2012-06-18 14:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
form.html (242 bytes, text/html)
2007-01-07 18:10 UTC, Anton
Details
frames.html (412 bytes, text/html)
2007-01-07 18:11 UTC, Anton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton 2005-12-23 02:40:49 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) 

method .focus() doesn't work in frames.

I have created two htmls. First loads a form and focus an input field:
http://195.38.160.45/form.html
second loads the same form into frames:
http://195.38.160.45/frames.html
and trys to focus the input field two times but fails.

In the same time the .select method commented out, but it works fine.
Comment 1 Anton 2006-04-12 03:21:02 UTC
I understand this is tiny issue and nobody cares, but may be someone?..
Comment 2 Zac Slade 2007-01-07 17:30:10 UTC
The test URLs are invalid.  Perhaps an attachment that shows the bug should be uploaded.

This bug needs a new testcase created.
Comment 3 Anton 2007-01-07 18:10:33 UTC
Created attachment 19159 [details]
form.html
Comment 4 Anton 2007-01-07 18:11:17 UTC
Created attachment 19160 [details]
frames.html
Comment 5 Anton 2007-01-07 18:26:12 UTC
I have also uploaded it to a new server:
http://195.38.160.37/form.html
http://195.38.160.37/frames.html

Please confirm.
Comment 6 Martin Fitzpatrick 2007-01-09 01:59:43 UTC
Confirmed this behaviour on KDE 3.5.5 / Kubuntu 6.10. Perhaps the issue is with the focus being on the top frame by default & so the .focus() is unable to pull it across. Is it possible (& meant to be possible) to pull focus between frames using Javascript, or just within a single document?
Comment 7 FiNeX 2008-04-10 22:22:23 UTC
Bug confirmed on KDE 3.5.8. But it has been fixed on KDE4 : the testcase works correctly on revision 794646.
Comment 8 Anton 2008-04-11 23:12:29 UTC
I can't confirm it with 4.0.3. It moves a cursor to an input field, however you can't really type anything in there.
Comment 9 FiNeX 2008-05-05 12:40:51 UTC
Confirmed on recent revision (trunk, compiled a couple of days ago).

I've loaded some times the page. I've reproduced the bug only one time.

Now I cannot reproduce it anymore.
Comment 10 Stas Verberkt 2009-08-16 14:38:31 UTC
In 4.3.0 the carret goes to the textbox, but it doesn't get the focus (e.g. typing doesn't work).
Comment 11 Myriam Schweingruber 2012-06-18 14:05:17 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.