#25786 [Asn->Opn]: do not remember last search phrase

From: Date: Mon, 23 Apr 2007 10:44:03 +0000
Subject: #25786 [Asn->Opn]: do not remember last search phrase
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-35248@lists.php.net to get a copy of this message
ID: 25786 Updated by: goba@php.net Reported By: tipsen at imada dot sdu dot dk -Status: Assigned +Status: Open Bug Type: Website problem Operating System: - PHP Version: Irrelevant Assigned To: goba Previous Comments: ------------------------------------------------------------------------ [2003-12-04 12:20:21] goba@php.net We are trying to make the autocomplete feature work on all possible browsers, and not cause any error messages on browsers where it does not work, so we can replace the whole remembering feature with the autocomplete. The most annoying problem currently with the autocomplete is that it interferes with some IEs autocomplete. Although we have code in the JS to disable the autocomplete programatically... It works in some IEs, but we need time to figure out, why it does not work in other IEs... ------------------------------------------------------------------------ [2003-12-04 06:25:04] tipsen at imada dot sdu dot dk I was using IE6 on a W2K platform at the time. I just checked and it seems like the "strlen>0" condition actually works! I tried using the manual-pages like I normally do and discovered that I'm using Alt+s to focus the search field as soon as it is displayed in the browser. After focussing the field I begin typing my search phrase but most of the time the field is filled with my last search phrase just before I begin typing and I need to delete the old search phrase or focus the field again by pressing Alt+s. It is a minor problem but when you're using the php manual 30-50 times a day it becomes annoying when you perhaps only reuse your old search phrase one or two times! I've actually considered disabling cookies just too avoid this "feature" :-) ------------------------------------------------------------------------ [2003-12-03 11:54:50] goba@php.net As you can see the implemtantion of searchHistory() in http://www.php.net/userprefs.js, you can check that we do check the length of the input field if there is any content in it, and only put in the previous search term, if there is nothing typed in there... This solution might not fit all browsers. We have introduced that check long ago, at a similar user request, and that user was satisfied with this solution, so it worked in his browser. Since you have not provided info on what browser you use, it is quite hard to say anything about the problem... ------------------------------------------------------------------------ [2003-12-03 07:11:46] mail at andybev dot com My main problem with this 'feature' is not so much that it is annoying, but more because the previous search phrase is inserted long after the text box is loaded - which as mentioned overwrites whatever you're typing. So how about 'remembering' the text a lot earlier, so that when you start typing in a search, it is not overwritten. ------------------------------------------------------------------------ [2003-10-08 12:17:49] tipsen at imada dot sdu dot dk sniper: Unfortunately I wasn't able to locate the right category and regrettably your comment didn't enlighten me further... goba: Sounds promising - looking forward :-) ------------------------------------------------------------------------ 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/25786 -- Edit this bug report at http://bugs.php.net/?id=25786&edit=1

« previous php.mirrors (#35248) next »