<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>405455</bug_id>
          
          <creation_ts>2019-03-13 22:25:45 +0000</creation_ts>
          <short_desc>Replace smileys with emojis</short_desc>
          <delta_ts>2019-03-25 12:30:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>composer</component>
          <version>5.7.3</version>
          <rep_platform>Debian unstable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Erik Pfannenstein">debianignatz</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>montel</cc>
          
          <cf_commitlink>https://commits.kde.org/kpimtextedit/2e967a300a4d0596ef76a102fbc6e699a5c9bc96</cf_commitlink>
          <cf_versionfixedin>5.11.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1844083</commentid>
    <comment_count>0</comment_count>
      <attachid>118786</attachid>
    <who name="Erik Pfannenstein">debianignatz</who>
    <bug_when>2019-03-13 22:25:45 +0000</bug_when>
    <thetext>Created attachment 118786
My try to match UTF-8 emojis to KMail smileys

SUMMARY

In the composer window there is a &quot;Add Smiley&quot; button which only works when the message is being composed as rich-text format. Since UTF-8 is continually expanded with emojis and is supported by every self-respecting platform, my suggestion is to replace those smileys with UTF-8 emojis which would make them available for plaintext mails, too.

STEPS TO REPRODUCE
1. Compose a new e-mail
2. Disable rich-text format
3. Click the &quot;Add smiley&quot; button

OBSERVED RESULT
The button is greyed out and therefore doesn&apos;t work.

EXPECTED RESULT
The button unfolds a menu with a set of emoticons which are inserted as UTF-8 emojis when clicked. The recipient&apos;s client can display them without further interpretation (unlike classic smileys).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 4.20.6/5.14.5
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
In the attachment you&apos;ll find some UTF-8 equivalents to the smileys in the Smiley menu, the ones I couldn&apos;t find are marked with X. The &quot;tofus&quot; are the one which are too new in UTF-8 and can&apos;t be displayed even using the Noto Sans font. Last but not least I added some suggestions which I think are used quite often and therefore would fit well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1844136</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-03-14 06:39:24 +0000</bug_when>
    <thetext>it&apos;s a very good idea !
Thanks for it.
I will work on it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1844138</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-03-14 06:47:45 +0000</bug_when>
    <thetext>Git commit 9d7c59e933f20ac2a40ef1d701960e0b88ed968a by Laurent Montel.
Committed on 14/03/2019 at 06:47.
Pushed by mlaurent into branch &apos;master&apos;.

Start to implement insert emoji as unicode car

M  +7    -0    src/emoticontexteditaction.cpp
M  +2    -0    src/emoticontexteditaction.h

https://commits.kde.org/kpimtextedit/9d7c59e933f20ac2a40ef1d701960e0b88ed968a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1845697</commentid>
    <comment_count>3</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-03-21 07:08:55 +0000</bug_when>
    <thetext>In progress I think that it will finish for 19.04</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1846492</commentid>
    <comment_count>4</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-03-25 12:30:29 +0000</bug_when>
    <thetext>Git commit 2e967a300a4d0596ef76a102fbc6e699a5c9bc96 by Laurent Montel.
Committed on 25/03/2019 at 12:30.
Pushed by mlaurent into branch &apos;Applications/19.04&apos;.

Fix Bug 405455 - Replace smileys with emojis

FIXED-IN: 5.11.0

M  +3    -1    src/composer-ng/richtextcomposeractions.cpp

https://commits.kde.org/kpimtextedit/2e967a300a4d0596ef76a102fbc6e699a5c9bc96</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118786</attachid>
            <date>2019-03-13 22:25:45 +0000</date>
            <delta_ts>2019-03-13 22:25:45 +0000</delta_ts>
            <desc>My try to match UTF-8 emojis to KMail smileys</desc>
            <filename>KMail-Emojis.txt</filename>
            <type>text/plain</type>
            <size>544</size>
            <attacher name="Erik Pfannenstein">debianignatz</attacher>
            
              <data encoding="base64">8J+YgfCfmIjwn5iH8J+kl/CfmJVYCljwn5ii8J+YoVjwn5iYWArwn5iu8J+OgvCfmI7wn5ir8J+k
l/CfmI4K8J+YkfCfmKrwn6Si8J+YlfCfmI3imLkK8J+Yj/CfmJfwn5mC8J+kqPCfmIPwn5iJCvCf
mKEKCk5vdCBmb3VuZDogOi0+IDpvKSBQKSBRSwpUb2Z1czogSHVnICh9KSwgQ2FrZSAoXiksIEh1
ZyAoeyksIFNpY2sgOi0mLCBGYWNlIHdpdGggcmFpc2VkIGV5ZWJvdyA6LwoKClN1Z2dlc3Rpb25z
IGZvciBhZGRpbmc6CuKdpO+4jyDwn5iCIPCfmI0g8J+klCDwn5GNIPCfkY4g4pyU77iPIOKdjAoK
KHJlZCBoZWFydCwgZmFjZSB3aXRoIHRlYXJzIG9mIGpveSwgaGVhcnQgZXllcywgdGhpbmtpbmcg
ZmFjZSwgdGh1bWJzIHVwLCB0aHVtYnMgZG93biwgY2hlY2sgbWFyaywgY3Jvc3MgbWFyaykKCgpj
b21waWxlZCB1c2luZyBLTWFpbCA1LjcuMwpTb3VyY2VzOiBodHRwczovL3VuaWNvZGUub3JnL2Vt
b2ppL2NoYXJ0cy9mdWxsLWVtb2ppLWxpc3QuaHRtbCAoV2FybmluZzogc2xvdyB0byBsb2FkKQog
ICAgICAgICBodHRwczovL2Vtb2ppcGVkaWEub3JnCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>