Closed PauloGDPeixoto closed 2 years ago
Can you give some examples of the special characters? The text does get passed through the UTF parser (g_utf8_validate), and since your local settings are en_US, I suspect this is part of the issue.
Any that don't match between the PT and US keyboard layout, for example:
+çº,.-;:_~'«?»
It seems that parcellite is recording the keystroke codes, rather than the characters themselves.
I find it a bit strange that it could be the locale settings, but I'm willing to test. I just find it strange because I don't think it's an edge case: I'm simply using the system in english, while my keyboard is configured for the portuguese layout.
For the record, I can't seem to get the correct behaviour by disabling history anymore :(
I'm assuming that when you quit parcellite so it no longer runs, your cut/paste works as expected?
ctrl+c/ctrl+x ctrl+v work fine, even when parcellite is running, what messes the characters up is selecting an item from the history and pasting it from there. I have auto paste on, that might be related to the issue as well.
Did you ever resolve this? Sorry, I got busy with a new job.
Same here... :smile: As I couldn't afford the time, I ended up switching to another application, sorry. I'll try to have a look again soon.
If you are using a different keyboard that the local settings, that seems a little off. At any rate, I'm going to close this since I see no way to duplicate it. Please comment if it pops up again.
I disabled the history in parcellite and noticed that when I paste an item containing special characters, they get replaced with the equivalent keystroke in the US layout. I'm using the pt-PT keyboard layout exclusively. Also, as I think it might be relevant, I'm attaching my locale settings:
Switching history back on resolves the issue, but for security reasons, I'd like to have it disabled.