FS#21405 - [pcmanfm] Cannot copy/move files containing spaces

Attached to Project: Arch Linux
Opened by Mauro Santos (R00KIE) - Thursday, 21 October 2010, 23:20 GMT
Last edited by Angel Velasquez (angvp) - Wednesday, 03 November 2010, 14:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Angel Velasquez (angvp)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Pcmanfm fails to copy/move files containing spaces. Creating or deleting files with spaces on the name works as expected.

Additional info:
* package version(s)
pcmanfm 0.9.8-1

Steps to reproduce:
- Create a file with spaces on the name, ex.: '/tmp/test file'.
- Try to copy or move the file. Pcmanfm complains with an error dialog stating:
': Error stating file '/tmpfs/test%20file': No such file or directory' and the file is not copied or moved. Deleting the file with pcmanfm works fine though.

Expected result:
The file should be copied or moved without any problems.

It seems this problem [1] and another pertaining to non-latin characters [2] has been reported upstream and already have a fix.

[1] http://sourceforge.net/tracker/?func=detail&aid=3089625&group_id=156956&atid=801864
[2] http://sourceforge.net/tracker/?func=detail&aid=3088859&group_id=156956&atid=801864
This task depends upon

Closed by  Angel Velasquez (angvp)
Wednesday, 03 November 2010, 14:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed on 0.9.8-2 release thanks to R00KIE
Comment by Mauro Santos (R00KIE) - Thursday, 21 October 2010, 23:33 GMT Comment by Angel Velasquez (angvp) - Friday, 29 October 2010, 23:00 GMT
Unfortunately that patch doesnt work with the actual pcmanfm :/ waiting for a new patch though
Comment by Mauro Santos (R00KIE) - Saturday, 30 October 2010, 11:12 GMT
The patch needs to be applied against libfm actually. I flagged this as a bug in pcmanfm because it is where the problem shows itself.
I tried it and it seems to be working.

Patch here: http://pcmanfm.git.sourceforge.net/git/gitweb.cgi?p=pcmanfm/libfm;a=patch;h=96fa31c757189c7c5f60d4de4c2df236d2cba0ea
PKGBUILD here: http://pastebin.com/Ry5nRax3
Comment by Angel Velasquez (angvp) - Monday, 01 November 2010, 18:37 GMT
Done in testing, please review for close this bug
Comment by Mauro Santos (R00KIE) - Tuesday, 02 November 2010, 10:20 GMT
Can't find it in testing, can you confirm that?
Comment by Mauro Santos (R00KIE) - Wednesday, 03 November 2010, 13:04 GMT
Seems to work fine here, I can copy/move files with spaces in the name.

Loading...