Bug 2010598

Summary: Emoji sequences in libreoffice are only partly deleted when typing Backspace
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: bbarve, caolanm, dtardon, erack, mfabian, prigupta, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 20:15:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Video showing that Backspacing over emoji sequences removes the sequences partly none

Description Mike FABIAN 2021-10-05 06:47:07 UTC
Created attachment 1829251 [details]
Video  showing that Backspacing over emoji sequences removes the sequences partly

- Fedora-Workstation-Live-x86_64-35-20210829.n.0.iso, installed in qemu-kvm, with all current updates
- libreoffice-core-7.2.1.2-1.fc35.x86_64
- google-noto-emoji-color-fonts-20210716-1.fc36.noarch (updated package installed   from rawhide, that makes no difference for the problem reported here though)

See the attached video.

These emoji have been written into LibreOffice Writer:

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿณ๏ธโ€โšง๏ธ๐Ÿดโ€โ˜ ๏ธ๐Ÿ‡จ๐Ÿ‡ญ๐Ÿด๓ ง๓ ข๓ ฅ๓ ฎ๓ ง๓ ฟ๐Ÿด๓ ง๓ ข๓ ณ๓ ฃ๓ ด๓ ฟ๐Ÿด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐Ÿฆฎ๐Ÿ•โ€๐Ÿฆบ๐Ÿ‘ฉโ€๐Ÿฆฝ

Moving the cursor over them using the arrow-left and arrow-right keys works well, each arrow-key moves over a complete emoji and only one emoji.

But when the cursor is just behind one of these emoji, typing Backspace deletes not the whole emoji (as it should!) but only part of the emoji sequence.

Comment 1 Caolan McNamara 2021-10-05 08:58:27 UTC
I presume this is the same as https://bugzilla.redhat.com/show_bug.cgi?id=1883217#c1 where libreoffice follows the model in https://unicode.org/reports/tr29/ of "the backspace key might delete by code point, while the delete key may delete an entire cluster" and the arrow and delete keys work on the full cluster while backspace chips away at it to remove components of it and that was done deliberately during the original implementation targeting CTL

Comment 2 Caolan McNamara 2022-03-11 12:40:08 UTC
*** Bug 2063165 has been marked as a duplicate of this bug. ***

Comment 3 Ben Cotton 2022-05-12 15:01:43 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-06-07 20:15:35 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.