Apache OpenOffice (AOO) Bugzilla – Issue 23872
Deleting the space with ctrl+backspace/delete
Last modified: 2014-10-20 15:52:49 UTC
Pressing ctrl+backspace should not (it might be customizable) delete the space before the deleted word. Pressing ctrl+delete should not (it might be customizable) delete the space after the deleted word.
os->cj: Should it or not?
CJ -> OS: We should not delete the space.
Target set.
.
*** Issue 52110 has been marked as a duplicate of this issue. ***
*** Issue 56158 has been marked as a duplicate of this issue. ***
*** Issue 12535 has been marked as a duplicate of this issue. ***
Issue 12535 argues the counter point. This should be discussed. However, key to both is consistent behavior between applications (Writer, Impress, etc). Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, Post v3 ~
Just for info, some related problems: Issue 23872 - Deleting the space with ctrl+backspace/delete Issue 50014 - Ctrl backspace (under rare circumstances) deletes to the right of the cursor Issue 51051 - Ctrl-delete deletes to the left, if a space follows the cursor position Regards, Andrew
This is by way of discussion. (I am still using OO-3.4.0, so I'm not sure whether this is accurate). The standard behavior might very well be a kind of statement, intended to demonstrate that "this is not MS Office," but, given that even the basic textarea editor i'm currently typing in adheres to the MS standard, it ends up making a much more inclusive statement. The main issue, however, is its inconsistency with what it is supposed to do (at least in the old 3.4.0 version I'm still using). 1. Deleting from within a word (i.e. partial word-deletion) will delete to start of word proper. 2. Deleting from end of word plus whitespace (i.e. from start of next word) will delete to start of word proper. 3. Deleting from end of word proper, however, will delete to end of previous word. In other words, deleting at least a single character either more or less than the length of the word, will "delete to start of word" otherwise it will "delete to end of previous word". Furthermore, ctrl-left will still jump to the beginning of a word proper, not to the end of previous ones. When using ctrl-backspace one would therefore expect this jumping to be mirrored in some way. Finally, it is much quicker (or at least it feels much smoother) to do a "ctrl-backspace, backspace" sequence (to get rid of the superfluous space) manually, than to do a "ctrl-backspace, space" sequence. But maybe that's me. That being said, however, since this can easily be worked around (by recording a macro to simulate the sequence "Ctrl+Shift+Left, Delete") I, too, don't think this such a huge problem at all.
Problem description: Using Ctrl+Backspace combination removes the word with the space between the deleted word and the previous word. Steps to reproduce: 1. Open Write 2. Type at least two words 3. Go to end of the line 4. Use Ctrl+Backspace Current behavior: It also removes the space Expected behavior: As usual, this should only remove the word as the other applications do. See related bug from LibreOffice: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=63819 Maybe this patch can solve the issue here, as well.
Created attachment 84065 [details] Fix This patch has been retrieved from: http://cgit.freedesktop.org/libreoffice/core/commit/?id=083114bb132b879cfb899361ece375c8580ae505
We need a notice of the original author, that he provides this under Apache License, Version 2.0. Or discuss on the dev-mailing list, whether the change is so small, that it does not need a license, and then link here to the decision.
@Regina: I remembered that the AOO project is accepting little patched as it is without anything further and found it at [1] (see the 3rd bullet point). So, when looking into the patch I see it fits to the "little" case. I would say that we can accept it as it is. [1] http://openoffice.apache.org/contributing-code.html
You can use that patch under the ALv2 license.
"regina" committed SVN revision 1632977 into trunk: #i23872 Delete the space with ctrl-backspace consistent
Can we close this and the duplicate reports: (In reply to ace_dent from comment #10) > Just for info, some related problems: > Issue 23872 - Deleting the space with ctrl+backspace/delete > Issue 50014 - Ctrl backspace (under rare circumstances) deletes to the > right of > the cursor > Issue 51051 - Ctrl-delete deletes to the left, if a space follows the cursor > position > > Regards, > Andrew Thanks.
You should close it, when you have verified in a daily build, that it works as intended and does not break anything. Of cause I have tested it locally, but I have only got Windows7 and tests are needed for Linux and Mac too. Issue 50014 and issue 51051 are about deleting to the wrong direction, that is different from deleting or not deleting a space.
Thanks, I will be waiting for the latest daily as the last one was on 17.10. http://ci.apache.org/projects/openoffice/index.html#linux64