Bug 95589 - Emoji incorrectly capitalized at or near beginning of document
Summary: Emoji incorrectly capitalized at or near beginning of document
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 00:09 UTC by Óvári
Modified: 2015-11-05 18:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Óvári 2015-11-05 00:09:02 UTC
1. Using the example in the 5.0 release notes
    :alpha::<=::sum::Phi::_i:
incorrectly capitalizes the first character
    Α≤∑Φᵢ
not
    α≤∑Φ
when it is first typed in a blank document.

2. It also produces the incorrect output if any combination of the characters before it include (please note this list is not extensive):
a) white space (Space-bar);
b) paragraph (Enter);
c) column break (Ctrl+Shift+Enter); and
d) page break (Ctrl+Enter).

3. However, if the sequence has any character before it not shown in 2, the correct output is given.

4. Emoji and in-word replacement support example for multiple replacements:
    :alpha::<=::sum::Phi::_i: → α≤∑Φᵢ
https://wiki.documentfoundation.org/ReleaseNotes/5.0#Emoji_and_in-word_replacement_support

5. Tested with bug being reproducible on:
Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75

Version: 5.1.0.0.alpha1+ (x64)
Build ID: b35e797ca0e2c7e7ad6dbccea6b92208b209677c
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-11-02_22:21:21

Thank you
Comment 1 tommy27 2015-11-05 05:15:33 UTC
reproducible under Win8.1 x64 using LibO 5.1.0.0.alpha1+
Build ID: 6ccf68622e51c1b727dd042c1c1a71b5d1fd6a12-GL
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-02_22:45:52
Locale: it-IT (it_IT)

I put emoji expert on CC list.
Comment 2 László Németh 2015-11-05 18:31:23 UTC
Capitalization works correctly in this case, Greek capital alpha is similar to the Latin one: https://en.wikipedia.org/wiki/Alpha.

You can switch off the automatic capitalization of the sentence starting letters in the Tools/Autocorrect menu.

(A possible problem here, that it's not possible to use Ctrl-Z to get the small Greek letter, but this is true for all autoreplacement texts in sentence starting positions.)