Bug still exists in 2022.
Observed on an ext4fs that is mounted over smb.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to eog in Ubuntu.
https://bugs.launchpad.net/bugs/42571

Title:
  eog won't delete images on different volume

Status in Eye of GNOME:
  Fix Released
Status in eog package in Ubuntu:
  Fix Released

Bug description:
  If you are viewing an image with eog and ask eog to delete the image
  (move to trash), then eog will fail to do so unless the image file
  resides on the same volume as /home/user. Instead, it just puts up a
  dialog box saying it failed to delete the image.

  What eog should do is what Nautilus does:

  (1) Move the file to ~/.Trash if the file lies on the same volume as
  ~/.

  (2) Move the file to  /mountpoint/.Trash-$USER if the volume is
  mounted at /mountpoint and .Trash-$USER exists.

  (3) If /mountpoint/.Trash-$USER does not exist and user has rwx
  permissions for /mounpoint/., then create /mountpoint/.Trash-$USER and
  do step (2).

  gthumb does (1) and (2) but not (3), while eog does only (1).

  The result is that the basic supplied applications in ubuntu/dapper
  for viewing and organizing images are both unable to delete images in
  a very common situation (e.g. when a user has a bunch of imags on a
  USB memory stick).

  I filed bug's in gnome's bugzilla a while ago, on both eog and gthumb.
  Because these have not yet been triaged, and because dapper's release
  is not far off, I am entering these bugs here. (I hope this is not bad
  procedure.) In my eog bug report on bugzilla, I also pointed out a
  one-line change in the source which would fix eog so that it at least
  does (2). The corresponding line of code in gthumb *looks* like it
  should do (3) also (according to the documentation of gnome-vfs), but
  fails to do (3).

  It may be that the failure to do (3) is not a bug in eog or gthumb.
  But the failure of eog to do (2) certainly is.

  The relevant bugzilla.gnome bugs are:

  http://bugzilla.gnome.org/show_bug.cgi?id=338653
  http://bugzilla.gnome.org/show_bug.cgi?id=339180

To manage notifications about this bug go to:
https://bugs.launchpad.net/eog/+bug/42571/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to