RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1648281 - [libreoffice][fix available] Junk character gets added when some emojis are inserted.
Summary: [libreoffice][fix available] Junk character gets added when some emojis are i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libreoffice
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Caolan McNamara
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-09 10:19 UTC by Bhushan Barve
Modified: 2020-04-28 15:37 UTC (History)
1 user (show)

Fixed In Version: libreoffice-6.0.6.1-20.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:37:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
backport of render + various ibus and fontconfig tweaks to get it all to work (11.90 KB, patch)
2019-09-04 19:20 UTC, Caolan McNamara
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1598 0 None None None 2020-04-28 15:37:41 UTC

Description Bhushan Barve 2018-11-09 10:19:20 UTC
Description of problem: Tried entering emojis in libreoffice applications. When user tries to enter an emoji, some garbage character gets added in case of some. Also sometimes, some emojis get added twice. Please refer attached screenshot.


Version-Release number of selected component (if applicable):
libreoffice-core-6.0.6.1-9.el8.x86_64
[test@localhost ~]$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.0 Beta (Ootpa) - beta 1.3 build.

How reproducible:
always

Steps to Reproduce:
1. launch oowriter
2. press ctrl-shift-e followed by keyword, for e.g. boy
3. hit space twice 
4. hit enter

Actual results:
some garbage characters get added with emoji.

Expected results:
There should not be any garbage character or double insertion of emoji.

Additional info:

Comment 1 Caolan McNamara 2018-11-09 11:21:49 UTC
If I do it in gedit, and cut and paste "👦🏻" from there to writer it happens too, so its not any problem with the input method. Seems there really are two chars there, Unicode Character 'BOY' (U+1F466) followed by Unicode Character 'EMOJI MODIFIER FITZPATRICK TYPE-1-2' (U+1F3FB) so its on the render side of things

Comment 2 Caolan McNamara 2018-11-09 12:30:55 UTC
If I erase all emoji fonts except for Symbola, then I get the same bustage in gedit as well as LibreOffice, so a key problem seems to be font selection

Comment 3 Caolan McNamara 2018-11-14 11:28:29 UTC
The key font we want to use is a non-outline font so is rejected by LibreOffice as a candidate, so we'd have to relax that restriction and tweak things to bubble the font down to our cairo renderer. The good news is that if we can get it there, then it seems to render fine

Comment 5 Caolan McNamara 2019-09-04 19:20:59 UTC
Created attachment 1611638 [details]
backport of render + various ibus and fontconfig tweaks to get it all to work

Comment 7 Bill Sanford 2019-12-12 13:32:39 UTC
In the OP steps, I couldn't use CTRL-SHIFT-e, but I did use :<emoji name>: and as soon as I entered the second colon, I got the emoji and tried to reproduce the bug. I used writer 6.0.6.1-20 and it looks like it is fixed.

Comment 9 errata-xmlrpc 2020-04-28 15:37:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1598


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