parcellite
parcellite copied to clipboard
avoid trimming quotes
Hi,
I do not understand why it's trimming the quotes while pasting
thanks
ps: on L mint 20.3
I need specific steps to get to the issue, what you expect and what you are getting. Also, be sure the trim options are as you expect in preferences. It is likely a setting, or if you are using xdotool (automatic paste) it may be an issue with the shell. This was pasted from Parcellite. onSubmit="return startUpload()" id="theform"
Hi,
I moved to CopyQ, which seems to no issues (until now), but for the sake of debugging, I can tell you that these were my settings
and that the issue happens when pressing enter on an item in the history (pasting with ctrl + V
is fine )
I ran into this issue too, it's a problem caused by the unescaped xdotool call. If you copied just a single quote mark, you will get this log:
xdotool:'/bin/sh -c 'xdotool type "'"''
text:'''
which is worse than trimming, the app just crashes with segmentation fault.
But if the copied string still makes a valid xdotool call, such as aaa"bbb"
, as the quotes canceled each other out, you'll get:
xdotool:'/bin/sh -c 'xdotool type "aaa"bbb""''
text:'aaa"bbb"'
And xdotool get rid of the quotes when parsing the string, resulting a trimming behavior.
Duplicate of #87