Bug 105689 - Emoji not available
Summary: Emoji not available
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: implementationError
: 102271 (view as bug list)
Depends on:
Blocks: Font-Rendering Emoji-Button
  Show dependency treegraph
 
Reported: 2017-02-02 09:09 UTC by Herbert Dupree, II
Modified: 2017-06-02 01:32 UTC (History)
11 users (show)

See Also:
Crash report or crash signature:


Attachments
Menu and Toolbars in customization (141.18 KB, image/png)
2017-02-02 09:13 UTC, Herbert Dupree, II
Details
The other screenshot (140.43 KB, image/png)
2017-02-02 09:14 UTC, Herbert Dupree, II
Details
Empty emoji field (115.53 KB, image/png)
2017-02-02 09:31 UTC, Herbert Dupree, II
Details
screenshot (285.21 KB, image/jpeg)
2017-02-15 21:02 UTC, Dieter Praas
Details
Emoji statement (237.57 KB, application/vnd.oasis.opendocument.text)
2017-02-15 22:37 UTC, Herbert Dupree, II
Details
EmojiOne Color - Example from Special Symbol Dialog (9.31 KB, application/vnd.oasis.opendocument.text)
2017-02-23 07:44 UTC, Dieter Praas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Dupree, II 2017-02-02 09:09:43 UTC
Description:
There is emoji support in Writer as of version 5.3.0.3. It is listed as a command option where you can customize the workflow, just like any other Office Suite. I tried to add it to the formatting toolbar, added command, placed it where I want it. It doesn't show up.

Then I tried to add it to the Insert menu under Text Box, same customization process, it didn't show up again.

Steps to Reproduce:
1.Customize Toolbar
2.Add Emoji command
3.Up or Down to desired location

Actual Results:  
Right click on any toolbar, then navigated to Customize Toolbars. Added the Emoji command on both the Menus and Toolbars

Expected Results:
It shows up, doesn't apply to the menus or toolbars


Reproducible: Always

User Profile Reset: No

Additional Info:
One of the advertised new features in Libre Office 5.3, that my older version of Word (2010) doesn't have. The modern Word 365 may have it, but do not own due to licensing issues.


User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.98 Safari/537.36 Vivaldi/1.6.689.40
Comment 1 Herbert Dupree, II 2017-02-02 09:13:43 UTC
Created attachment 130825 [details]
Menu and Toolbars in customization

Only place for 1 attachment. The other one is a screenshot that replaces Menu for Toolbar, otherwise it's the same shot.
Comment 2 Herbert Dupree, II 2017-02-02 09:14:35 UTC
Created attachment 130826 [details]
The other screenshot
Comment 3 Maxim Monastirsky 2017-02-02 09:18:05 UTC
You have to enable experimental features (under Tools > Options... > LibreOffice > Advanced) and restart the app.

Also - this is a toolbar only thing. Don't try to add it to a menu, as it won't work there.
Comment 4 Herbert Dupree, II 2017-02-02 09:24:52 UTC
Thank you for that. It is now there in the toolbar. I guess it will be in the menu when it becomes "non-experimental". 

BTW, it seems that Office 2016 doesn't have this ability. 💫👍
Comment 5 Herbert Dupree, II 2017-02-02 09:29:40 UTC
Thanks for that tip, I now see it. However, when I do the emoji, there is nothing there to insert into the document.

It has been enabled. Looking for the population of emoji, and where it may come from. Is there a download link for Writer to read a file and be able to insert.
Comment 6 Herbert Dupree, II 2017-02-02 09:31:39 UTC
Created attachment 130829 [details]
Empty emoji field
Comment 7 Maxim Monastirsky 2017-02-02 10:13:13 UTC
(In reply to Herbert Dupree, II from comment #5)
> Thanks for that tip, I now see it. However, when I do the emoji, there is
> nothing there to insert into the document.
I don't have such problem in my local build. Bet let's move the bug to UNCONFIRMED status, so others could try to reproduce.
Comment 8 blandin38 2017-02-05 14:40:50 UTC
(In reply to Maxim Monastirsky from comment #7)
> (In reply to Herbert Dupree, II from comment #5)
> > Thanks for that tip, I now see it. However, when I do the emoji, there is
> > nothing there to insert into the document.

I have the same problem (writer v.5.3.0.3 x64) on win7 x64

Best regards
Comment 9 Dieter Praas 2017-02-13 20:59:30 UTC
I confirm the problem with LO 5.3.0 Win 10 x64
Comment 10 Dieter Praas 2017-02-13 21:10:06 UTC
It's not only a problem in Writer but also in Calc.
Comment 11 LibreTraining 2017-02-15 19:56:09 UTC
What version of Windows 10 are you using? 
Supposedly the Windows 10 Anniversary Edition added support for OpenType SVG fonts.

While working on my LibreOffice Fonts Guide I have been looking at this to how to use the EmojiOne Color font.

For this experimental feature to work in LibreOffice requires two things:
- the EmojiOne Color font must be installed
- operating system must support OpenType SVG fonts

Operating Systems support for OpenType SVG fonts:
- Ubuntu 14.02 and 16.04 - both support
- Windows 7 - does NOT support 
- Windows 10 (Anniversary Edition) - does support (according to MS developer docs)
- Mac OS 1.7 - dunno, don't think so, did not find much

I tested on Windows 7 by adding a custom toolbar called Emoji, and then added the Emoji control to that toolbar. Easy to enable/disable the toolbar.

On Windows 7 the Emoji dialog in LibreOffice just shows a gray version of the emoji, and the same thing appears when inserted in a document.

So on Windows 7 this feature in never going to work. MS is not going to add OpenType SVG font support to Win7.

Windows 10 Anniversary Edition should be working from what my research shows. If not, then that may be a bug.

Ubuntu 14/16 appears to support OpenType SVG fonts so this feature should be working for those LO users.
Comment 12 Dieter Praas 2017-02-15 20:37:09 UTC
I'm using Windows 10 Home / Version 1607 (I suppose, that this is the Anniversary Edition you mentioned) / Build 14393.693
As far as I can see, EmojiOne Color font is also installed.
Comment 13 LibreTraining 2017-02-15 20:58:02 UTC
(In reply to dieterp from comment #12)
> I'm using Windows 10 Home / Version 1607 (I suppose, that this is the
> Anniversary Edition you mentioned) / Build 14393.693
> As far as I can see, EmojiOne Color font is also installed.

Hmmm ... that is not good.
The MS developer doc I was looking at was: 
What's New in Windows version 1607

You can look at a browser test page to see that the font is working.
Note: this does not test the operating system support, just that the font is installed and working properly.

The following browser test page works in:
- Firefox (I tested, works fine)
- Edge (supposedly, did not test)
- Chrome does NOT work.

EmojiOne Demo page (requires the font installed on your system)
http://eosrei.github.io/emojione-color-font/full-demo.html

If the font is installed and the browser supports OpenType SVG fonts, you will see many full color emojis.

If the browser does not support OpenType SVG fonts, you will only see gray outlines of the emojis.

If the browser test works in Firefox or Edge then the font appears to be installed and working properly, and if your LibreOffice Emojis on your Windows 10 does NOT work, then that appears to be a LO bug.
Comment 14 Dieter Praas 2017-02-15 21:02:49 UTC
Created attachment 131261 [details]
screenshot

screenshot from http://eosrei.github.io/emojione-color-font/full-demo.html
Comment 15 LibreTraining 2017-02-15 21:20:42 UTC
(In reply to dieterp from comment #14)
> Created attachment 131261 [details]
> screenshot
> 
> screenshot from http://eosrei.github.io/emojione-color-font/full-demo.html

Looks good. That is how it should look.
The font is installed correctly on your system.

So it appears there is a LO/Win10 issue with the new Emoji feature.


I would like to confirm the LO Emoji feature is working on Ubuntu.
That would confirm the feature actually works at all.
I assume someone on the developer team tested on Linux so my guess is it should be working.
Need to get Ubuntu installed in a VM anyway to test other stuff.
Comment 16 Herbert Dupree, II 2017-02-15 22:37:28 UTC
Created attachment 131264 [details]
Emoji statement

Location for current status on my system.
Comment 17 Herbert Dupree, II 2017-02-15 22:39:49 UTC
(In reply to LibreTraining from comment #13)
> (In reply to dieterp from comment #12)
> > I'm using Windows 10 Home / Version 1607 (I suppose, that this is the
> > Anniversary Edition you mentioned) / Build 14393.693
> > As far as I can see, EmojiOne Color font is also installed.
> 
> Hmmm ... that is not good.
> The MS developer doc I was looking at was: 
> What's New in Windows version 1607
> 
> You can look at a browser test page to see that the font is working.
> Note: this does not test the operating system support, just that the font is
> installed and working properly.
> 
> The following browser test page works in:
> - Firefox (I tested, works fine)
> - Edge (supposedly, did not test)
> - Chrome does NOT work.
> 
> EmojiOne Demo page (requires the font installed on your system)
> http://eosrei.github.io/emojione-color-font/full-demo.html
> 
> If the font is installed and the browser supports OpenType SVG fonts, you
> will see many full color emojis.
> 
> If the browser does not support OpenType SVG fonts, you will only see gray
> outlines of the emojis.
> 
> If the browser test works in Firefox or Edge then the font appears to be
> installed and working properly, and if your LibreOffice Emojis on your
> Windows 10 does NOT work, then that appears to be a LO bug.

Here is the link to what is now happening on my system: https://bugs.documentfoundation.org/attachment.cgi?id=131264 
Still a problem.
Comment 18 LibreTraining 2017-02-15 22:49:13 UTC
As mentioned above, it appears that the new experimental LibreOffice v5.3.0.3 Emoji feature is not working on Windows 10.
Comment 19 pierre-yves samyn 2017-02-17 17:44:26 UTC
Hi

I reproduce Attachment #130829 [details] & #131261 on my platform: Win7 & Version: 5.3.0.3
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU Threads: 2; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; 
Locale: fr-FR (fr_FR); Calc: group

The look from...

> screenshot from http://eosrei.github.io/emojione-color-font/full-demo.html

is ok. So it is not only a LO/Win10 issue.

Regards
Pierre-Yves
Comment 20 LibreTraining 2017-02-17 18:40:01 UTC
As mentioned above, Windows 7 is not going to work. 
It does not have support for OpenType SVG fonts.
The screenshot you posted looks just like my own tests on Windows 7.
Doesn't work, never will.

As mentioned above, the web page only tests that the font is installed and working, and that the browser supports OpenType SVG fonts.
Has nothing to do with operating system support.

As mentioned above, Windows 10 should work as it does support OpenType SVG fonts according to some MS developer info.

As mentioned above, since Windows 10 does not work, that points to an issue between LO 5.3/Win 10.
Comment 21 V Stuart Foote 2017-02-22 21:40:00 UTC
Confirmed on Windows 8.1 Ent 64-bit en-US with
Version: 5.4.0.0.alpha0+
Build ID: 801422d70133986af45385307a10566af0bc56ee
CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-02-20_23:55:07
Locale: en-US (en_US); Calc: CL

and 

Version: 5.3.0.3 (x64)
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL; Layout Engine: new; 
Locale: en-US (en_US); Calc: group

EmojiOne Color is installed and the EmojiOne demo shows correctly with Firefox, but not IE11 or Chrome.

Adding the Insert Emoji button to Standard toolbar--the tabbed panels show the tab with a black emoji--but each panel is blank. No color Emoji show.

Using the Special Symbol dialog with EmojiOne font selected--again no color emoji (to be expected) but any of the Emoji can be inserted to document canvas, just the black non-filled outline.

And of course the Autocorrect Options for the :emoji: entries show just the black non-filled outline of the EmojiOne glyphs here as well.
Comment 22 V Stuart Foote 2017-02-22 21:59:22 UTC
This issue on Windows builds has been annotated in the 5.3.0.3 release notes.
Comment 23 Dieter Praas 2017-02-23 07:44:57 UTC
Created attachment 131422 [details]
EmojiOne Color - Example from Special Symbol Dialog

Result from using the Special Symbol Dialog - not very useful.
Comment 24 V Stuart Foote 2017-02-23 08:32:46 UTC
(In reply to dieterp from comment #23)
> Created attachment 131422 [details]
> EmojiOne Color - Example from Special Symbol Dialog

Nothing out of the ordinary there.

> 
> Result from using the Special Symbol Dialog - not very useful.

Not at all, in fact quite the opposite. Implementation of :emoji: syntax glyph substitution was being hampered by lack of TTF/OTF Unicode font support.  That the EmojiOne selected (as opposed to Symbola for example) also provides SVG color glyphs is simply a bonus on OS/DE where supported.

The Special Symbol dialog and the Autocorrect :emoji: syntax are both fully functional.

Just the non-functional Insert Emoji toolbar button GUI on Windows builds is the issue here--not the outline only rendering of the font glyphs.
Comment 25 LibreTraining 2017-04-15 23:29:11 UTC
I did find some clarification regarding Windows 10.

In Windows 10, the DirectWrite and Direct2D platform components allow OpenType-SVG support in any apps that use those APIs.
So there is hope for OpenType-SVG font support in LO on Win 10 if the work being done to better support DirectWrite in LO includes OpenType-SVG fonts.
I assume this is how it works in Firefox and Edge, and Photoshop, etc.

And I confirmed that OpenType-SVG fonts are supported in Microsoft Edge 
(in Windows 10 Anniversary Edition and above).
So the demo pages should also work in Edge.

Browser support: 
Supported in: Firefox and Edge
No support in: Chrome or Safari

OS support: 
Supported in: Linux, Android, and Chrome OS.
No support in: Windows 7, Windows 10, MacOS
Comment 26 V Stuart Foote 2017-05-27 15:49:49 UTC
*** Bug 102271 has been marked as a duplicate of this bug. ***
Comment 27 V Stuart Foote 2017-05-27 16:01:08 UTC
Sorry, I screwed up when I duplicated bug 102271 to bug 92940 -- BMP and SMP Unicode points for our :emoji: mechanism are handled on Windows builds--that was tdf#92940. I've dupped it to here.

But the emoji.json based picker implemented for bug 100100 [1] has never functioned correctly.

The glyph used to label each tab is picked up via its Unicode point and displayed in its outline form--but the panels showing the glyphs (color or outline) is not rendered (if populated) and all appear blank.

IIUC this is going to require the panels be rendered on Windows builds with DirectWrite D2Write actions--I don't beleive they are currently handled that way. And if they are our implementation of DirectWrite is wrong.

=-ref-=
https://gerrit.libreoffice.org/#/c/26700/
Comment 28 Khaled Hosny 2017-06-02 01:32:00 UTC
We do not currently support any color font format on any platform, we have bug 104403 and bug 105488 open for supporting the two salable color font formats. DirectWrite provides API to expose the SVG table, but actual rendering is up to the application, so it is not much less work than doing it in cross-platform way by parsing the fonts directly. Supporting COLR/CPAL fonts (bug 104403) is pretty straight forward, one or two weeks part time work if someone is interested.