#26124 [Ana->Asn]: Fucntion completion sorta works in Safari
| From: | goba@php.net | Date: | Sat, 22 Nov 2003 12:29:15 +0000 |
| Subject: | #26124 [Ana->Asn]: Fucntion completion sorta works in Safari | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-22156@lists.php.net to get a copy of this message | ||
ID: 26124
Updated by: goba@php.net
Reported By: colin at easydns dot com
-Status: Analyzed
+Status: Assigned
Bug Type: Website problem
Operating System: OS X 10.2.8
PHP Version: Irrelevant
-Assigned To:
+Assigned To: goba
New Comment:
The functions listed in the dropdown are now clickable, so you can get
to that function page directly. It would be nice if some Safari user
would be able to find out what point that space is inserted into the
input field. Note that event handlers are supposed to return false in
case they handled the event properly, and no action is needed. We do
return false in case we handle the spacebar action...
Previous Comments:
------------------------------------------------------------------------
[2003-11-07 17:31:58] meilof at hotmail dot com
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 :)
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26124
--
Edit this bug report at http://bugs.php.net/?id=26124&edit=1