Ah, I see now Quozl! I thought your solution was totally different.<br><br>Please check out this patch: <a href="https://github.com/sugarlabs/sugar/pull/476">https://github.com/sugarlabs/sugar/pull/476</a><br><br><div class="gmail_quote">On Tue Jan 20 2015 at 9:10:59 am James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jan 19, 2015 at 09:19:23AM +0000, Sam P. wrote:<br>
> Hi James,<br>
> On Sat Jan 17 2015 at 2:51:29 pm James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
> [...]<br>
> Tested on Fedora 20 on XO-4.<br>
><br>
> The autocomplete of activity name in search entry (2ac6c3c) does work,<br>
> though it can be disconcerting. Perhaps it should mark the completion<br>
> as selected text, so that further typing will erase it. Be a slow<br>
> typer and type "C l o c k" and you get "Clockock".<br>
><br>
> Hum, how slow is a slow typer? I need to be typing at about 2 chars<br>
> per second, but what is it like on the XO4?<br>
<br>
Children with developmental disabilities or in the early stage of<br>
keyboard learning will type slowly enough to trigger this problem. It<br>
can be easily reproduced on an XO-4 by typing one key every two<br>
seconds. I'm happy for this to be the test case descriptor.<br>
<br>
> I don't think that selecting the text is the right approach. If I<br>
> am a slow typer, I would appreciate the computer autocompleting me<br>
> :)<br>
<br>
I disagree. I think selecting the completion is the right approach.<br>
It is how Firefox handles the issue.<br>
<br>
That way, when the user does not observe the completion, any further<br>
typing will immediately erase the completion.<br>
<br>
Perhaps you haven't understood what I mean. Imagine this:<br>
<br>
- empty field,<br>
<br>
- press 'c', the 'c' appears,<br>
<br>
- after one second delay, autocomplete is ambiguous (clock, chat,<br>
record, physics, stopwatch, calculate), so nothing further happens,<br>
<br>
- press 'l', the 'l' appears,<br>
<br>
- after one second delay, autocomplete is unambiguous, so 'ock' is<br>
added to the text, and 'ock' is to be highlighted as selected text,<br>
<br>
- press 'o', the selected 'ock' is erased, and the 'o' appears,<br>
<br>
- after one second delay, autocomplete is unambiguous, so 'ck' is<br>
added to the text, and 'ck' is highlighted as selected text,<br>
<br>
At the moment, without a fix, 'Clocko' is in the field.<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</blockquote></div>