Created attachment 76916 [details] Wrong word completion Problem description: I start typing a word that I expect to be auto-completed and add a space before auto-completion. If I cancel this space and start typing again, "Word Completion" doesn't take into account what I already typed before. Steps to reproduce: 1. Create a new empty document 2. Type a long word like "abandon" 3. Type "ab" and space, cancel space, type "a" and watch (see screenshot) Expected behavior: Word Completion function should be considering the whole word (including what was typed before). Additional comments: #1: In LibO 3.6.4.3, Word Completion worked correctly. #2: The word in question has been correctly saved when I check Extras, AutoCorrect Options, Word Completion. Operating System: Ubuntu 12.10 Version: 4.0.1.2 release
Will look for the earliest version that I can reproduce this one in
first release that I have with the problem is 3.6.5rc2 (do not have 3.6.5rc1 at hand)
Created attachment 77241 [details] AutoCompletion Gone Crazy This is created by typing "The " (including the space), then in the attempt to change it to "That", backspace to delete "e " and type "a". The AutoCompletion gets triggered to complete "absorption", thus creating the nonsense.
This is happening in 4.0.1.2 Windows version too. (I skipped one release in hope that to avoid such bugs.) I don't mean to criticize, but there's been quite a few blunders in recent versions of LibO. I wonder if it would be better to slow down the frequency of releasing to give more time for QC. I don't get why "regression" is added to "Keywords". As far as I know (having been a user since StarOffice), this is the first time I see this.
If there's nothing new in LO4 for you that you can't live without, and you rather not leave without word completion, I suggest that you go back to 3.6.5 until this (and other newly introduced bugs in LO4) is resolved and released. Otherwise, you can turn off the feature under Tools>AutoCorrect Options...
(In reply to comment #4) > This is happening in 4.0.1.2 Windows version too. (I skipped one release in > hope that to avoid such bugs.) the Versioin field must show the first version where the issue is known. Pls do not change that to a newer version. thanks
(In reply to comment #6) > the Versioin field must show the first version where the issue is known. > Pls do not change that to a newer version. thanks Sorry about that. Thanks for telling me. However, I did use 3.6.5.2 release a lot to write a book, and I didn't notice the problem there. Can you double check?
(In reply to comment #7) > However, I did use 3.6.5.2 release a lot to write a book, and I didn't > notice the problem there. Can you double check? As I was surprised too, I already did. But now checking again, I cannot reproduce :-) Strange.
(In reply to comment #8) > (In reply to comment #7) > > > However, I did use 3.6.5.2 release a lot to write a book, and I didn't > > notice the problem there. Can you double check? > > As I was surprised too, I already did. > But now checking again, I cannot reproduce :-) > Strange. Computing is full of mysteries. Anyway, since we're in agreement on this now, I'm changing it back to 4.0.1.2 release, as Julien reported. (I wouldn't be surprised if someone later reports that it started with 4.0.0)
I have this problem on 4.0.2.2 (no surprises) and I also noticed a lot of the suggested words had full stops on the end. Its one thing suggesting what I might like to write, its another to assume you know when I am going to end my sentences. :) I assume its all part of the same bug.
I'm setting this as high, because automatic word completion is on by default. The bug is very obvious and gives new users a very poor impression of LO.
I'm adding to the cc list Cédric Bosdonnat, who is one of the experts for Writer (listed at https://wiki.documentfoundation.org/FindTheExpert) to take a look at this annoying regression.
I managed to reproduce this, but you need two custom settings at Tools -> AutoCorrect options: - Options tab: disable "capitalize first letter of every sentence" - Word Completion tab: set Min word length to 7 (for "abandon") I'll look into this.
So, checking what changed in this area between 3.6 and 4.0, first I see that 51f9e894f46e718200a14bcd61e9e44c64bc5396 completely broke this scenario, in other words after you type "ab <backspace>a", nothing happens. This was later improved by 1eee77f2c2b4fa5f693708218c74a8f3909649a6, leading to the current situation. Given that these are just aimed at improving performance without referencing bugreports, I'll just revert these for now.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d92932744fdbaa78cec8dd8b991d5f442f6eef4b fdo#62643 sw: fix autocomplate wrt. adding to a partially finished word The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
-4-0 review: https://gerrit.libreoffice.org/3580
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=66ca78799975d1855ba794a75d3ecabf53cef10b&h=libreoffice-4-0 fdo#62643 sw: fix autocomplate wrt. adding to a partially finished word It will be available in LibreOffice 4.0.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks, Miklos.
*** Bug 63381 has been marked as a duplicate of this bug. ***
(In reply to comment #18) > Thanks, Miklos. +1
verified in 404rc1 OK :)
*** Bug 64188 has been marked as a duplicate of this bug. ***