https://bugs.kde.org/show_bug.cgi?id=425419
Bug ID: 425419 Summary: Right-To-Left Text Breaks Emoji Flags Product: kde Version: unspecified Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: i3r...@gmail.com Target Milestone: --- Created attachment 130909 --> https://bugs.kde.org/attachment.cgi?id=130909&action=edit Bug demonstration SUMMARY Whenever a flag emoji is used with a text that is inferred to be right to left, it breaks, showing another flag or a flag with a question mark. This problem is observed in both editable text (as in a text editor for example) and non-editable text (as in the title of a Firefox window for example). STEPS TO REPRODUCE 1. Choose any flag emoji (this one for example 🇯🇵). 2. Open any application where you can enter text (Kate for example) and paste the flag emoji. 3. Enter text using a right-to-left language (Arabic or Hebrew for example) either before or after the flag emoji. OBSERVED RESULT The flag emoji breaks, showing a flag with a question mark in this case. EXPECTED RESULT The flag emoji shouldn't change just because the text around it was inferred to be right to left. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION 1- Note that this problem only occurs if the text with the flag emoji is inferred to be right to left. This inference depends on the first character typed other than the emoji. If this character is right to left, the text is inferred to be right to left, and the emoji breaks. If the first character typed other than the emoji is left to right, the text is inferred to be left to right, and the emoji won't break even if subsequently right-to-left characters were used. 2- This problem is peculiar to flag emojis as far as I can tell. All other emojis that I've encountered exhibit no problem with right-to-left text. 3- This problem is universal to KDE as far as I can tell, but is not universal to all of the system (this problem isn't present in Firefox for example). -- You are receiving this mail because: You are watching all bug changes.