#26124 [Com]: Fucntion completion sorta works in Safari
| From: | meilof at hotmail dot com | Date: | Fri, 07 Nov 2003 22:31:59 +0000 |
| Subject: | #26124 [Com]: Fucntion completion sorta works in Safari | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-21880@lists.php.net to get a copy of this message | ||
ID: 26124
Comment by: meilof at hotmail dot com
Reported By: colin at easydns dot com
Status: Analyzed
Bug Type: Website problem
Operating System: OS X 10.2.8
PHP Version: Irrelevant
New Comment:
Same result as the original poster with Konqueror 3.1.4
(Mandrake 9.2) (but then, Konqueror and Safari are based
on the same layout engine): clicking on a function doesn't
fill it in in the text box. Navigating with cursor keys
and autocompletion with space don't work either...
The dropdown box does look nice though :)
Previous Comments:
------------------------------------------------------------------------
[2003-11-05 23:18:11] dfelio at yahoo dot com
Auto-complete doesn't work at all in Safari 1.1 in OS
10.3
------------------------------------------------------------------------
[2003-11-05 14:32:27] goba@php.net
You can find the discussions on the php-mirrors (and partially
cross-posted to phpdoc) list about the compression, the code, and why
the dropdown is removed after the input field losts focus. The
discussion was under the subject "quickref.swf", because I proposed a
flash solution initially...
The original thread:
http://www.phparch.com/mailinglists/msg.php?a=360751
One "subthread":
http://www.phparch.com/mailinglists/msg.php?a=360866
------------------------------------------------------------------------
[2003-11-05 12:52:38] colin at easydns dot com
First, the dropdown doesn't appear at all in IE5.2/Mac.
In Safari, if I type "arr" into the search field, the
drop down appears, with all the arr* functions listed.
If I then press space, the field autocompletes with
"array ", and I can press return and I'm directed to
the right page (although, the search field is now
"array+" ... so you probably need to trim that field).
If, however, I just type "arr" to get the list of
functions, I should be able to mouse over to one of
them -- say "array_pad" -- and click it. When I mouse
over it, I can see that the link is there (i.e.
Safari's status bar shows "Go to ca.php.net/
array_pad"), but clicking on the link does nothing
except make the drop-down disappear.
I realize the JS code is optimized for size, but it
would be *really* helpful if there was an unoptimized
version in use during beta testing, so that all these
bugs could be worked out first. :)
I'm also guessing that this code came from somewhere?
What is the format of the compressed data?
- Colin
------------------------------------------------------------------------
[2003-11-05 12:19:05] goba@php.net
Have you tried the auto complete with the space key, or navigating in
the list with the cursor keys? Does that work? We had no Safari user to
test before....
The dropdown does disappear now if the input field losts focus, this is
"by design". It might need to be refined to not disappear if the
function list got the focus... I don't have an immediate idea on how
one would do this...
------------------------------------------------------------------------
[2003-11-04 18:03:15] colin at easydns dot com
Description:
------------
The function auto-completion feature only partly works
in Safari.
As I type in the form field, I do get the "drop-down"
list of the functions. However, when I then go to
click on the function I want, the drop-down disappears,
but the text box doesn't get auto-completed with the
selected function, nor am I redirected to the right
manual page.
Good idea, though! :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26124&edit=1