rickyrockrat / parcellite

GNU General Public License v3.0
220 stars 29 forks source link

xdotool does not stop pasting when auto paste is unchecked. #55

Closed rickyrockrat closed 2 years ago

rickyrockrat commented 3 years ago

If keyboard input is checked, it will paste irregardless of the auto paste setting.

mgarridoe commented 2 years ago

In my tests, if you have xdotool installed, parcellite will paste automatically disregarding any settings you have for Automatic paste, Keyboard or Mouse. Also the automatic paste strips out some characters from the original text like $ or anything after ; making the feature unreliable

rickyrockrat commented 2 years ago

Those options are a little odd. They have to all be unchecked for xdotool to not be called. Also, the command line does some interesting things with $ and ;.

rickyrockrat commented 2 years ago

So I think I found the issue. It wasn't clear that keyboard input is also related to auto-paste, so even if auto-paste is off but keyboard input was on, xdotool would run. Can you build and see if it fixes it for you?

Things like $ ; I would expect to have issues, especially in a shell. I personally have never liked this option and don't use it, but someone somewhere wanted it.... :)

mgarridoe commented 2 years ago

Hi, @rickyrockrat

Sorry for the delay.

Ok, it fixes the issue with xdotool pasting when auto paste is unchecked.

; does get pasted but $ not, so it remains unreliable for my everyday use.

Kind regards,

rickyrockrat commented 2 years ago

Since I use the tip of the master, it means whatever is on github is what I run every day. Glad to know I can close this one. I desperately need to get a release out, but I have a lot going on right now. Thanks!