[Libreoffice-bugs] [Bug 49033] Change case -> Sentence case doesn't honor selection; case of entire sentence changes (STR comment 20)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 25 16:56:23 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=49033

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Change case -> Sentence     |Change case -> Sentence
                   |case doesn't honor          |case doesn't honor
                   |selection; case of entire   |selection; case of entire
                   |sentence changes            |sentence changes (STR
                   |                            |comment 20)
                 CC|                            |erack at redhat.com

--- Comment #20 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Dieter Praas from comment #19)
> Can't reproduce it in

Unfortunately it remains to be fixed. And here are STR that still indicate the
string handling of selection for ICU filter is wrong:

1. new Writer document
2. add DT -> F3 autotext for the DummyText
3. select the 'h' form "him." ending the first sentence, and capitalize
4. select all but the "Him." of the first sentence "He heard quiet steps behind
"
5. cycle the applied ICU Transliteration filter with <Shift>+F3

Watch it cycle. If corrected the "Him." should remain capitalized? 

Currently it still does not.  Rather, the full sentence textrun, rather than
the selection/or word, is affected upon cycling to the SENTENCE_CASE
transliteration [1].

Imagine that is caused by difference in the "default" string handling for
SENTENCE_CASE, by definition no substrings of selection/word? Edit engine seems
to expand the selection when SENTENCE_CASE transliteration is applied here [2].

So, while we may not like it--behavior could be considered correct.

=-testing-=
Windows 10 Ent 64-bit en-US with
Version: 6.3.0.0.alpha0+ (x64)
Build ID: ffa5b8a82eab18041bbee4d6914892b82c7801d3
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64 at 42, Branch:master, Time: 2018-12-19_03:24:54
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

-=ref-=
[1]
https://opengrok.libreoffice.org/xref/core/unotools/source/i18n/caserotate.cxx
[2]
https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/impedit4.cxx?r=492ea7e0#2785

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190125/6c1bc8d7/attachment.html>


More information about the Libreoffice-bugs mailing list