Issue 119407 - Format - Change case - sentence case not working properly
Summary: Format - Change case - sentence case not working properly
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: https://forum.openoffice.org/en/forum...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-23 22:25 UTC by Peter Roelofsen
Modified: 2016-10-30 15:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.3
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Peter Roelofsen 2012-05-23 22:25:12 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.
Comment 1 Peter Roelofsen 2012-05-23 22:46:48 UTC
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.
Comment 2 rgb 2012-05-23 23:09:35 UTC
Changed version to AOO340 and set it as "confirmed" (I can see the problem too)
Comment 3 Du Jing 2012-05-25 08:17:17 UTC
Can reproduce it in Aoo3.4,and it is not critical.
Comment 4 hanya 2013-03-19 13:34:48 UTC
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).
Comment 5 Peter Roelofsen 2013-07-23 22:22:41 UTC
Still around in version 4.0.0.
Comment 6 Joe Smith 2013-09-09 21:39:03 UTC
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.
Comment 7 Peter Roelofsen 2015-01-26 22:16:25 UTC
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.
Comment 8 orcmid 2015-11-11 00:23:25 UTC
(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.
Comment 9 Peter Roelofsen 2016-10-30 10:02:17 UTC
Still present in 4.1.3.