Bug 1554701
Summary: | can't paste the flags emoji | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | lnie <lnie> | ||||||||||||
Component: | gnome-terminal | Assignee: | Matthias Clasen <mclasen> | ||||||||||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 33 | CC: | alexl, anish.developer, debarshir, i18n-bugs, john.j5live, mclasen, mfabian, pwu, rhughes, rstrode, sandmann | ||||||||||||
Target Milestone: | --- | Keywords: | i18n | ||||||||||||
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: | 2021-10-04 06:17:27 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: |
|
Created attachment 1407474 [details]
journal
Created attachment 1407858 [details]
emoji-picker-flags-gnome-terminal.png
That is a gnome-terminal problem. It works in gedit and in other gnome programs like in the "enter command" dialog as shown in this screenshot.
gnome-terminal cannot display most emoji sequences correctly (i.e. emoji
which consist of more than one character). For example, gnome-terminal
cannot display any of the following emoji sequences correctly:
π¨π¦
π©βπΎ
π©ββ€οΈβπ¨
ππΎββοΈ
π§πΎ
In emoji-picker, if you right click on an emoji, some information about that emoji is displayed. There you can see whether the emoji is a single character or a sequence. For example for the Canadian flag you will find:
π¨π¦ U+1F1E8 U+1F1E6
Move bug to gnome-terminal. Created attachment 1407882 [details]
screenshot
Created attachment 1407883 [details]
journal
Attached screenshot is what I got when I try to paste some flags and others to libreoffice writer (In reply to lnie from comment #6) > Attached screenshot is what I got when I try to paste some flags and others > to libreoffice writer Yes, libreoffice does not support these either. That is a problem in libreoffice, not in the inputmethod used to input these sequences. Above reported issue is reproducible in Fedora 30 with Fedora-Everything-netinst-x86_64-30-20190401.n.0.iso able to input flags in gedit, but not on terminal and libreoffice. Pasting π¨π¦ U+1F1E8 U+1F1E6 into libreoffice works now. But it still doesnβt work to past it into gnome-terminal. Pasting π©βπΎ U+1F9D1 U+200D U+1F33E into libreoffice still fails (and it also fails pasting it into gnome-terminal). Unchanged in Fedora 33. I believe this is https://gitlab.gnome.org/GNOME/pango/-/issues/293 For gnome-terminal, vte may not support Unicode Emoji sequence. URL: https://gitlab.gnome.org/GNOME/vte/-/blob/master/src/vteunistr.h#L30 Please file a upstream against vte, but this is not easy to fix due to its rendering limitations. While the issue here is mis-stated (the issue is combining the two RI characters of width 1 into one cell of width 2, and has nothing to do with the rendering itself), there already is an upstream bug at https://gitlab.gnome.org/GNOME/vte/-/issues/2317 . (Please don't an extraneous comment there; the issue is already known and understood upstream.) |
Created attachment 1407452 [details] screencast Description of problem: As shown in the attached screencast. Version-Release number of selected component (if applicable): emoji-picker-1.5.35-1.fc28 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: