Bug 1883217 - [libreoffice writer/calc/impress] In some cases, while deleting an emoji, the one at the first place in selection window re-appears.
Summary: [libreoffice writer/calc/impress] In some cases, while deleting an emoji, the...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-28 13:19 UTC by Bhushan Barve
Modified: 2020-09-29 05:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-29 05:19:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
emoji deletion (257.27 KB, video/webm)
2020-09-28 13:19 UTC, Bhushan Barve
no flags Details

Description Bhushan Barve 2020-09-28 13:19:32 UTC
Created attachment 1717261 [details]
emoji deletion

Description of problem:In libreoffice applications, tried deleting an emoji. In some cases, when I entered the emoji at places other than at first place from selection window, then while deleting it, the emoji at the first place was re-appearing. This is observed with some emojis only(man, woman, boy etc), not all. 

Observed with all libreoffice applications like writer, calc, impress. Not observed with other applications like gedit etc. Please see the attached screencast for the reference.


Version-Release number of selected component (if applicable):
libreoffice-core-7.0.1.2-3.fc33.x86_64
F33

How reproducible:
reproducible 100% in case of some emoji only.

Steps to Reproduce:
1. Launch oowriter/calc/impress
2. press ctrl+shift+e followed by 'man'
3. hit spacebar twice to have emoji at 2nd place selected
4. Hit enter
5. Try to delete it with backspace

Actual results:
While deleting, the emoji at the 1st place in the selection window also appears.

Expected results:
The emoji at the first place should not reappear while deleting other emoji.

Additional info:

Comment 1 Caolan McNamara 2020-09-28 14:11:55 UTC
The 2nd place emoji is the 1st place emoji followed by a Fitzpatrick Emoji Type Modifier. I imagine the backspace is chipping away at the skin color modifiers that follow the base emoji and its not entirely clear that's something we shouldn't do. IIRC we deliberately use backspace to remove modifiers/combining characters for CTL. A Delete at the start will remove the entire grapheme as expected.

Comment 2 Bhushan Barve 2020-09-29 05:19:03 UTC
That's right, use of delete key removes it properly. Thanks Caolan, for the explanation. :)
I'm marking this bug as closed (Not a bug). If anyone feels otherwise, feel free to re-open it.


Note You need to log in before you can comment on or make changes to this bug.