Apache OpenOffice (AOO) Bugzilla – Issue 119407
Format - Change case - sentence case not working properly
Last modified: 2016-10-30 15:12:46 UTC
When a block of all lower case text is selected and you apply Format - Change Case - Sentence case, the first word of each paragraph will be capitalised, but the first word after a full stop won't. It seems to work fine in text with all caps. When you paste the above paragraph in a Writer document, apply all caps, then apply all lower case, then apply Sentence case, the result is: "When a block of all lower case text is selected and you apply format - change case - sentence case, the first word of each paragraph will be capitalised, but the first word after a full stop won't. it seems to work fine in text with all caps." Confirmed by several users in the community forum (see http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=54055&p=236127#p236127 ). Note that LibreOffice shows the same behaviour.
Please note that's the 3.4.0 version, build 9590, Rev 1325589, but that's not yet listed in the drop down list here.
Changed version to AOO340 and set it as "confirmed" (I can see the problem too)
Can reproduce it in Aoo3.4,and it is not critical.
following method of break iterator from ICU ignores it in BreakIterator_Unicode::endOfSentence, i18npool/source/breakiterator/breakiterator_unicode.cxx. So, this problem happens in the all functions that uses css.i18n.BreakIterator service (maybe CJK do not have it, but I have not checked).
Still around in version 4.0.0.
There is another odd behavior with Sentence Case: it changes text that is not selected. Again not a critical problem, but modifying text that is not selected is somewhat more serious, I think. For example, copy/paste the following as unformatted text in a Writer document: One AC said dig! dig! dig! Select "dig! dig! dig!" Format > Change case > Sentence Case The result is: One ac said: dig! Dig! Dig! ** The "AC" is changed to "ac" even though it was NOT selected. ** I get the same result in 3.4.1 or 4.0, and the same result no matter on/off setting for either: AutoCorrect > While Typing AutoCorrect Options > Options > Correct two initial capitals It seems that the sentence case operation is being applied to the whole paragraph instead of the selection only. This seems so closely related I add it here as a comment, but if a separate issue would be helpful, I can start a new one.
Still around in 4.1.1. Including the side effect of modifying unselected text. In my view, that IS a critical issue - it means that text may be modified without its being noticed, thereby introducing errors that remain unnoticed. You don't want errors in business letters for instance. It means that an entire paragraph needs to be proofread every time Sentence case is applied to a part of it, making it a very expensive feature.
(In reply to Peter Roelofsen from comment #7) > Still around in 4.1.1. Including the side effect of modifying unselected > text. In my view, that IS a critical issue - it means that text may be > modified without its being noticed, thereby introducing errors that remain > unnoticed. You don't want errors in business letters for instance. It means > that an entire paragraph needs to be proofread every time Sentence case is > applied to a part of it, making it a very expensive feature. I concur. There is a problem here. The non-critical remark is not relevant. I changed the Importance to Major because of the fact that a kind of data corruption is at issue.
Still present in 4.1.3.