pop-os / xdg-desktop-portal-cosmic

GNU General Public License v3.0
43 stars 37 forks source link

CJK characters become unicode encoded when copying from wayland to xwayland #101

Open skygrango opened 1 month ago

skygrango commented 1 month ago

I've encountered an issue when copying CJK characters from Firex on Wayland into Discord or Steam(xwayland).

The copied text turns into Unicode encoded characters. However, when copying the same text into other Wayland clients, such as other Cosmic apps, this issue does not occur.

Interestingly, when copying to Discord, the issue seems to happen with a 50% chance. More specifically, the first copy may work correctly, but on the next attempt, the text gets incorrectly encoded, and this alternates with every copy.

Steps to Reproduce:

I’m not entirely sure if this is the correct place to submit this bug report, so if it’s not, please let me know. Thank you for your understanding!

cosmic version : cosmic alpha 2