Issue 35219 - AutoComplete should handle word-case better
Summary: AutoComplete should handle word-case better
Status: CLOSED DUPLICATE of issue 22961
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.3
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: requirements
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-10-09 06:29 UTC by ezza
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ezza 2004-10-09 06:29:30 UTC
Autocomplete may finish words with a different case to what you are actually typing.

Type the following into a document:

"MANCHESTER Manchester manchester"

Now - ensuring autocomplete is on - start to type "manchester" (ie. lower case)
and autocomplete suggests:
manCHESTER

This is not helpful! :)

Autocomplete seems to only collect a word once, and keeps it in whatever case it
first saw the word. So if it saw an all-caps version first, any attempt to type
that word later in lower or mixed case will auto-complete upper case (and
vice-versa for any other type of word case). Obviously this is useless and you
have to type the complete word even though OO already knows what it is...

I can see two solutions:
a) autocomplete remembers the same word separately if the case is different (may
fill up the autocomplete list quickly, and won't help you if you want to type
the word in a case that it hasn't "seen").
b) (much better) autocomplete makes a "judgement" based on the letters you have
already typed as to what the case should be, and adjusts the suggestion
accordingly. Simplest way to do this is to look at the last letter typed. If it
was lower case, the rest of the suggestion should be lower case, otherwise
assume it's an all-caps word. Note this method also works when the first letter
(only) is upper case such as at the beginning of a sentence.

There may be even better (probably more complex) solutions but (b) above seems
trivial to implement (might even make it into 1.1.4?? one can hope..).
Comment 1 michael.ruess 2004-10-11 11:01:29 UTC
reassigned to SBA.
Comment 2 stefan.baltzer 2004-12-15 11:54:42 UTC
SBA: Reassigned to requirements.
Comment 3 ivanii 2005-06-22 19:51:12 UTC
Isn't this a duplicate of bug 22961?
Comment 4 ezza 2005-06-23 02:52:19 UTC
Yes, a dupe of 22961 (I'm reporter of this but don't have permission to dupe it..)

btw, still present in 1.9.104...
Comment 5 lohmaier 2005-06-23 05:21:14 UTC
marking duplicate.

*** This issue has been marked as a duplicate of 22961 ***
Comment 6 lohmaier 2005-06-23 05:23:06 UTC
closing duplicate.