Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suffix of words (plus next 5 chars) mistakenly being converted to emojis #22401

Closed
e-maya opened this issue May 30, 2022 · 1 comment
Closed
Labels
A-Composer A-Emoji O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@e-maya
Copy link

e-maya commented May 30, 2022

This is an issue reported by @tezcatlipoca:matrix.org:

THIS AFFECTS BOTH WEB AND DESKTOP VERSIONS

With "Automatically replace plain text Emoji" activated, try to write any word with a "xo" suffix, followed by at least 6 more characters. An example in Portuguese:

"embaixo da casa"

It should just stay as it is while I'm typing (i.e. "embaixo da casa"), but instead Element converts it automatically to "embai😵asa", not only converting the mapped string (in the example, "xo") - which it shouldn't be doing anyway -, but also "eating" the next 5 characters in the process.

This bug can be reproduced with any other mapped plaintext->emoji strings, like "xD" or "XD" for exemple. So if you write "WordXD whatever", the 6th character will trigger the bug. "xo" seems to be the more critical AFAIK, for there are words that are really common in my native language (Portuguese) which are directly affected by this bug.

In short, the suffixes of words should never be interpreted as candidates for conversion to emojis.

@kerryarchibald kerryarchibald added S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely A-Emoji labels Jun 1, 2022
@kerryarchibald
Copy link
Contributor

Duplicate #19472

@kerryarchibald kerryarchibald closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Composer A-Emoji O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants