FS#44328 - [xfdesktop] drag and drop to and from thunar not as expected

Attached to Project: Arch Linux
Opened by IMBJR (IMBJR) - Tuesday, 24 March 2015, 20:46 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 25 March 2015, 11:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
. Dragging a file from the desktop to Thunar should cause the file to be moved, if both origin and destination are on the same parition. However, Thunar merely refuses to take the file.
. Dragging a file from Thunar to the desktop causes it to be copied, not moved (again, assuming both locations are on the same partition).

Additional info:
Package version: xfdesktop 4.12.1-1
By downgrading the package to 4.12.0-1, the issue is resolved, although there is a seperate Thunar issue that can sometimes be observed, but a patch for that has gone into Thunar 1.6.7.

Steps to reproduce:
As above.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 25 March 2015, 11:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  xfdesktop 4.12.1-2, thunar 1.6.6-2
Comment by Evangelos Foutras (foutrelis) - Wednesday, 25 March 2015, 09:38 GMT
xfdesktop 4.12.1-2 should fix the second issue (moving a file from Thunar to the desktop).

Also, while Thunar now accepts files from the desktop, the file is copied and not moved. I'm not sure if this is intentional or not; xfdesktop-4.12.0 seems to behave the same.
Comment by IMBJR (IMBJR) - Wednesday, 25 March 2015, 10:09 GMT
I just double-checked: reversion to xfdesktop 4.12.0-1, the earliest 4.12 version, does perform a MOVE not a copy when dragging a file from the desktop to thunar. However, it appears that if one repeats the experiment then COPYING occurs not moving, and this happens regardless of whether you pick a different file or not! Only by restarting the XFCE session does the moving operation re-appear. It seems that the caching bug of thunar (http://git.xfce.org/xfce/thunar/commit/?id=cdfdb7290abb270f5f98c93089c3b6e3c35859bc) is clouding the issue with xfdesktop.
Comment by Evangelos Foutras (foutrelis) - Wednesday, 25 March 2015, 11:09 GMT
I included that patch in thunar 1.6.6-2 and now the file is moved instead of copied.

Both issues should be fixed now; please test and confirm.
Comment by IMBJR (IMBJR) - Wednesday, 25 March 2015, 11:15 GMT
Tested. Dragging and dropping between thunar and desktop now performs a move as expected when on the same partition.

Loading...