The discussion is about the issue of using emojis in title displays on OSX. bartv reported that when pasting an emoji at the start of a title, it causes overlapping characters in Chrome and Safari, a ‘square’ character in Safari, and removes the space between the emoji and the rest of the title in Firefox. frold confirmed the issue with a screenshot.
bartv and frold shared their browser versions and screenshots to illustrate the problem. Mittineague suggested that stripping out emojis from topic titles could solve the issue, but bartv disagreed, suggesting instead to enable the emoji picker for titles and process directly entered emojis in the same way as picked ones.
Mittineague noted that the emoji picker is not activated for titles during topic creation, but is activated during title editing, and agreed that enabling the emoji picker during topic creation would be a good solution. codinghorror pointed out a similar issue discussed in another topic, which Mittineague acknowledged, but highlighted the difference in the availability of the emoji picker during topic creation.
Well, I wasn’t suggesting anything yet, just reporting that I observe an issue when users enter legitimate content
It’s interesting though that titles WILL display correctly if you enter emoji’s using the :emoji notation. However, the emoji picker is not activated for titles, making it harder to use them there.
I believe that emoji’s can be useful for certain topics, so I wouldn’t just strip them out.
So perhaps:
Enable the emoji picker for titles
Process ‘directly entered’ emojis in the same way as ‘picked’ emoji’s
Thanks, I have never tried to have any emoji in a title so I would have never noticed that.
The emoji picker is not activated in the title input when a topic is created. Yet it is activated in the title edit input. For example, if you click the edit pencil icon next to the topic title and start typing a colon, the emoji picker will display.
Although I have reservations about expecting Discourse to map all non-supported emoji codepoints to supported codepoints just so browsers won’t display buggy titles, I do think it would be good to have the emoji picker activate during topic creation.
Edge case and low priority perhaps, but an inconsistency nonetheless.
To a great extent, yes. A difference is that the emoji picker is not available for the title input during topic creation so it is more difficult to not have buggy emoji titles.