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:
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 ***