Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262519 - app-arch/xarchiver-0.5.2: drag and drop fails if destination folder has spaces in its name
Summary: app-arch/xarchiver-0.5.2: drag and drop fails if destination folder has space...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: XFCE Team
URL: http://bugzilla.xfce.org/show_bug.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 10:22 UTC by Zsolt Fabok
Modified: 2012-01-24 12:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
shot1.png (shot1.png,22.64 KB, image/png)
2009-03-15 10:23 UTC, Zsolt Fabok
Details
shot2.png (shot2.png,126.44 KB, text/plain)
2009-03-15 10:23 UTC, Zsolt Fabok
Details
shot3.png (shot3.png,21.63 KB, text/plain)
2009-03-15 10:24 UTC, Zsolt Fabok
Details
Sorry wrong format (shot2.png,126.44 KB, image/png)
2009-03-15 10:29 UTC, Zsolt Fabok
Details
shot3.png (shot3.png,21.63 KB, image/png)
2009-03-15 10:31 UTC, Zsolt Fabok
Details
xarchiver-0.5.2-drag-n-drop_escaped_path.patch (xarchiver-0.5.2-drag-n-drop_escaped_path.patch,885 bytes, patch)
2012-01-24 11:56 UTC, Jaromír Cápík
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Fabok 2009-03-15 10:22:54 UTC
The xarchiver 0.5.2 cannot drag and drop files into folders, which have spaces in their names. See Steps to Reproduce section for more.

Reproducible: Always

Steps to Reproduce:
1. Have a folder (/tmp/Test/Data 1) and an archive test.zip (shot1.png)
2. Drag the file.data from the archive and drop in Data 1 (shot2.png)

Actual Results:  
The file appears in /tmp/Test/Data folder, but Data 1 is still empty (shot3.png)

Expected Results:  
The file should be in Data 1 and no error message is expected
Comment 1 Zsolt Fabok 2009-03-15 10:23:32 UTC
Created attachment 185038 [details]
shot1.png
Comment 2 Zsolt Fabok 2009-03-15 10:23:52 UTC
Created attachment 185040 [details]
shot2.png
Comment 3 Zsolt Fabok 2009-03-15 10:24:10 UTC
Created attachment 185042 [details]
shot3.png
Comment 4 Zsolt Fabok 2009-03-15 10:29:40 UTC
Created attachment 185051 [details]
Sorry wrong format
Comment 5 Zsolt Fabok 2009-03-15 10:31:52 UTC
Created attachment 185055 [details]
shot3.png

Sorry wrong format
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-03 12:26:42 UTC
Hi, same as the other bug. We can't fix this. Take it upstream and leave a not here after you do to reference it.
Comment 7 Zsolt Fabok 2009-04-24 08:06:51 UTC
Upstream reference:
http://bugzilla.xfce.org/show_bug.cgi?id=5187

Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-26 23:51:33 UTC
Great, thanks. I have subscribed to the bug too.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-27 03:05:19 UTC
sigh. A year old bug in Gentoo's bug tracker does not much good, in my opinion. Guess it has not much importance for upstream.
Comment 10 Jaromír Cápík 2012-01-24 11:56:24 UTC
Created attachment 299727 [details, diff]
xarchiver-0.5.2-drag-n-drop_escaped_path.patch

Hello.

The attached patch fixes the issue.

Regards,
Jaromir.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-01-24 12:44:46 UTC
+*xarchiver-0.5.2-r3 (24 Jan 2012)
+
+  24 Jan 2012; Samuli Suominen <ssuominen@gentoo.org>
+  +xarchiver-0.5.2-r3.ebuild,
+  +files/xarchiver-0.5.2-drag-n-drop_escaped_path.patch:
+  Escape path(s) for drag and drop wrt #262519 by Jaromír Cápík and Zsolt
+  Fabok