[Xfce-bugs] [Bug 15704] New: Ghost files remain after moving files on a sftp remote

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Jul 12 10:07:35 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15704

            Bug ID: 15704
           Summary: Ghost files remain after moving files on a sftp remote
    Classification: Xfce Core
           Product: Thunar
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
          Assignee: xfce-bugs at xfce.org
          Reporter: alexxcons at xfce.org
  Target Milestone: 1.8.8

Steps to reproduce:
- Connection e.g. via sftp (other remotes may show the same bug), to a folder
with files
- Select some file(s) and move them to the parent folder (e.g. via drag & drop
)

Result: The files actually will be moved, but the thunar still shows all of
them in the child folder, though they are not there any more.

The mayor difference to local file systems is, that "g_file_monitor_directory"
will return an error "this gvfs backend does not support file monitors" (or
similar).
( TODO: Display a notice to inform user on that. Currently this error is just
ignored )

I was a bit surprised to see that no ghost files remain after move for
nautilus. (as well uses gvfs).
However as well Nautilus is not able to track moves/renaming when done via 3rd
party software e.g. via console. So it as well has no folder monitor available
for sftp.

Instead I guess Nautilus just updates the containing folder after each internal
move/rename operation, instead of only relying on the file_monitor.  I think
thunar should do the same.

In addition: So far I dont understand why there are ghost files for moving
files upwards, but not so, if the files are moved downwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list