Open ig-perez opened 3 years ago
Thanks for reporting with good logs :)
I'm not sure about the cause here, but it's definitely a bug in GSConnect.
I can reproduce this on Wayland, but not on Xorg. And by calling the SetText DBus method with "cañón"
as the text it's send to the phone correctly.
I guess the problem is in the way that it gets the clipboard content from Shell. I tried looking at the code but I wasn't able to figure out how does it work :/.
I have maybe similar problem, but not exactly the same. One tries to type in accented characters (dead acute, dead tilde, etc.), but the characters just don't get accented, or does not show. On pasting text into the "text input field" nothing seems to happen.
I am on Fedora 35 (gnome 41) and Xorg.
Here on: GSConnect: 47 (user) GJS: 16804 Session: x11 OS: Ubuntu 21.10
I can send accented characters using copy and paste from the desktop to the mobile. But I can not write down accented characters on the Keyboard window.
All characters (non-accented) written on the Keyboard window are passed to the mobile. Good.
But if I write and accented character (composed character), the character is displayed on the Keyboard window and it is not sent to the mobile.
Like in the screenshot above, all other characters were sent to the mobile. The composed one, was not sent.
Everything works fine with ascii and non composed characters, like ç
.
Accented characters like
á
orñ
are not translated correctly on the destination Android phone. For example, when sending this text from the computer:The Android phone shows the unicode values:
Steps To Reproduce:
El año del cañón
Expected behavior
The pasted text on the Android phone should'n display the special characters as unicode.
Support Log
System Details:
GSConnect environment:
Additional Notes: The problem doesn't happen backwards (copying accented characters in the phone and pasting the text in the computer).