Emojis are wrongly displayed in chat text field on Facebook

NEW
Unassigned

Status

()

defect
P3
minor
2 years ago
Last year

People

(Reporter: csasca, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox60 affected)

Details

Attachments

(2 attachments)

Posted image bug emojis.png
[Affected versions]:
Firefox 58.0.2, Firefox 59.0b12, Firefox 60.0a1 (2018-02-26)

[Affected platforms]:
Windows 10 x64, macOS 10.12.6

[Steps to reproduce]:
1.Launch Firefox
2.Open the www.facebook.com page
3.Login with a facebook account
4.Start a conversation with a contact using facebook chat
5.Enter a few emojis in the text input field

[Expected result]:
Emojis are correctly displayed in the chat input.

[Actual result]:
Emojis are wrongly displayed, and the text indicator is delayed between the emojis

[Regression range]:
I will check if this is a regression asap.

[Additional notes]:
The emojis on Ubuntu OS are correctly displayed, but the text indicator is delayed between the emojis
I cannot reproduce this display issue on macOS 10.12.6 with Firefox 58.0.2, but it seems the caret is always put before the emoji somehow, and it is confused when there are both emoji and text.

I have no idea how that happens. It may be something related to our editor implementation given it has contenteditable.
I've checked again on macOS 10.12.6, using Firefox 58.0.2 and the issue is reproducible. Check the new attachment. Please let me know if I can help with any additional information.
It seems that this is an old regression. Here is the result from the mozregression. 

Last Good: 2014-05-27
First Bad: 2014-05-28
Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cbe4f69c2e9c&tochange=e017c15325ae
(In reply to Sasca Catalin, QA [:csasca] from comment #3)
> It seems that this is an old regression. Here is the result from the
> mozregression. 
> 
> Last Good: 2014-05-27
> First Bad: 2014-05-28
> Pushlog:
> https://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=cbe4f69c2e9c&tochange=e017c15325ae

I guess that this regression range is color font support (Bug 889401).  But I cannot reproduce this on Windows 10 fall creator update (using U+1F605).  I think that this depends on emoji font since Ubuntu uses FirefoxEmojiOne.  If you cannot reproduce this on Ubuntu, this doesn't occur on Windows 7 too.

So we need completely reproduce step for this. Emoji has a lot of code points, so we need specific code point such as  U+1F605 to reproduce this.
[Triage 2018/03/23 - P3]
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.