Bug 405455 - Replace smileys with emojis
Summary: Replace smileys with emojis
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.7.3
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-13 22:25 UTC by Erik Pfannenstein
Modified: 2019-03-25 12:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.11.0


Attachments
My try to match UTF-8 emojis to KMail smileys (544 bytes, text/plain)
2019-03-13 22:25 UTC, Erik Pfannenstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Pfannenstein 2019-03-13 22:25:45 UTC
Created attachment 118786 [details]
My try to match UTF-8 emojis to KMail smileys

SUMMARY

In the composer window there is a "Add Smiley" 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 "Add smiley" button

OBSERVED RESULT
The button is greyed out and therefore doesn'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'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'll find some UTF-8 equivalents to the smileys in the Smiley menu, the ones I couldn't find are marked with X. The "tofus" are the one which are too new in UTF-8 and can'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.
Comment 1 Laurent Montel 2019-03-14 06:39:24 UTC
it's a very good idea !
Thanks for it.
I will work on it now.
Comment 2 Laurent Montel 2019-03-14 06:47:45 UTC
Git commit 9d7c59e933f20ac2a40ef1d701960e0b88ed968a by Laurent Montel.
Committed on 14/03/2019 at 06:47.
Pushed by mlaurent into branch 'master'.

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
Comment 3 Laurent Montel 2019-03-21 07:08:55 UTC
In progress I think that it will finish for 19.04
Comment 4 Laurent Montel 2019-03-25 12:30:29 UTC
Git commit 2e967a300a4d0596ef76a102fbc6e699a5c9bc96 by Laurent Montel.
Committed on 25/03/2019 at 12:30.
Pushed by mlaurent into branch 'Applications/19.04'.

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