Can't copy/paste files if I update to v1.1.8
Brought to you by:
rickyrockrat
In my file manager (spacefm), I can no longer copy and paste files when parcellite 1.1.8 is running. It works fine in 1.1.7 and previous.
Same behaviour even after deleting the config file and restarting it.
I use Arch Linux, and reported this bug here as soon as they updated the packaged version: https://bugs.archlinux.org/task/41197
Please follow the guidelines for posting your rc file. I also need specific instructions on exactly how you 'copy' and 'paste'.
My rc file shown below (but as I said, exactly the same happens with the default rc file). Attached is a picture showing screenshots of "copy" and "paste" as requested.
Thanks
Can you do a couple more things for me. Can you show me a screenshot of history entries after you select paste? I just need the top couple entries.
And please let me know what happens in the following scenarios.
1) Uncheck Use Copy
2) Check both Use Copy and Use Primary
3) Check (2), and Syncronize.
Thanks.
No problem, here you go:
1) it works! I can copy and paste files (...but removes parcellite's main purpose of course). File copy/paste does not show in the history with this unticked.
2) Complete fail - Files do not copy, and I can't make selections in text (they instantly de-select after letting the mouse button go)
3) Same result as 2
Screenshot attached showing history for these tests, and the second one the history after I revert to 1.1.7 and copy and paste some text and files.
Actually I've just realised the second entry in the 1.1.8 test screenshot is maybe the file that copied OK - but it was a plain text file so even if it was raw data I'd expect it would have shown the content rather than a few unprintable characters?
When you copy the file, it usually just copies the file location - at least Thunar does it that way. What version of spacefm are you using? I'll download & compile and see if I can duplicate.
What is your window manager (XFCE4/KDE/ICE/???)
Yes that's how SpaceFM does it as well. I'm on the 0.9.4, tried it with Gtk2 and Gtk3, exactly the same.
Window manager is Openbox. Arch linux based system; Openbox, SpaceFM, Parcellite are all distro provided versions. I did try compiling parcellite manually in case it was a messed up build, but I got the same result.
Can you post the output of:
ps aux
I'm specifically looking for any lx components. Look at bug 131, it's possible it's related.
Last edit: rickyrockrat 2014-08-12
Here's ps aux|grep -v ^root
spacefm, parcellite 1.1.8 running
(let me know if you needed it all, I only excluded root to save space)
Just wondering if there's been any update on this?
Thanks
Steven,
I downloaded & compiled spacefm, but I don't have this issue. Have you tried SVN? I always run with what is the latest checked in. Also, I have checked with 1.1.8, and the paste is greyed out for me.
Please try SVN. It appears to be fixed there, and please report back. Thanks.
Hi,
Just compiled the latest SVN source - it still doesn't work. When you said "paste is greyed out for me" -- that is the problem! Roll back to 1.1.7 or just close parcellite and it works fine.
Thanks
VERY interesting problem. If you use xclip to examine the contents of the clipboards:
xclip -o -selection clipboard
The file to be copied is there, yet the selection is greyed out. If you uncheck the 'use ctrl-c' in parcellite's preferences, the option is no longer greyed out (but you have to re-copy).
So try SVN 533 (just checked it in). It appears that if you attempt to update the clipboard (even with exact same data), the file manager decides it's tainted and won't copy. Not sure exactly why it is yet.
For file managers that are finicky, you cannot have any text processing set (basically nothing under micellaneous besides Confirm clearing history) because that will re-write the clipboard, causing the same issue.
Please let me know if this fixes the issue or not.
Woohoo, that got it! Confirmed works with svn533, providing I leave "Trim whitespace" unticked.
Excellent. I've just updated SVN to 534, should be just a code cleanup. Can you please run that for a while? It seems this fixes several bugs. Thanks for the fast response. If this clears up these several bugs (129, 137, 133), I'll release 1.1.9.
Fix will appear in 1.1.9