Bug 2063165

Summary: While deleting flag emojis, the starting letter of that country name also appears in libreoffice applications
Product: [Fedora] Fedora Reporter: Bhushan Barve <bbarve>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: caolanm, dtardon, erack, 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-03-11 12:40:08 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:

Description Bhushan Barve 2022-03-11 12:22:23 UTC
Description of problem: 

In oowriter, I entered Emoji for Canada flag. The starting letter of that country name i.e. 'C' also appeared while deleting it. This seems libreoffice applications specific issue. Works properly in gedit, gnome-text editor. Refer attached screen-cast. Also this issue is not observed for other non-country flags.


Version-Release number of selected component (if applicable):
F36 WS
libreoffice-core-7.3.1.3-2.fc36.x86_64

How reproducible:
always

Steps to Reproduce:
1. open libreofficer-writer
2. enter ctrl + . (period) to enter Emoji
3. Press spacebar and select flag category in the Emoji pane
4. Select any country's flag, e.g. Canada
5. Try to delete using backspace

Actual results:
The starting letter of that country will appear while deleting it.

Expected results:


Additional info:

Comment 1 Caolan McNamara 2022-03-11 12:40:08 UTC
Its not a bug, or at least not unintentional according to the original design of LibreOffice wrt "backspace". If you go before it and use "delete" the entire cluster is deleted. If you use backspace it intentional clips away at the cluster and removes the trailing codepoint like https://unicode.org/reports/tr29/ of "the backspace key might delete by code point, while the delete key may delete an entire cluster"

this comes up again and again so clearly its not intuitive, on the other hand I don't know if changing it would degrade usability for various Indic CTL cases

*** This bug has been marked as a duplicate of bug 2010598 ***