Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57756 - Files not in trash when moved from reiser4 partition
Summary: Files not in trash when moved from reiser4 partition
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
: 68273 (view as bug list)
Depends on:
Blocks: 66864
  Show dependency tree
Reported: 2004-07-20 10:46 UTC by Sander Sweers
Modified: 2004-11-22 12:46 UTC (History)
3 users (show)

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

Reiser4 fix (gnome-vfs-2.8.1-reiser4-fix.patch,1.40 KB, patch)
2004-10-16 13:16 UTC, Sander Sweers
Details | Diff
patch for gnome-vfs-2.8.1.ebuild to include reiserfs4 fix. (gnome-vfs-2.8.1-ebuild-fixreiserfs4.patch,327 bytes, patch)
2004-10-27 10:53 UTC, Jonathan Hernández Velasco
Details | Diff
New patch for gnome-vfs-2.8.3 (gnome-vfs-2.8.3-reiser4_support.patch,711 bytes, patch)
2004-11-21 09:20 UTC, Sander Sweers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2004-07-20 10:46:52 UTC
when i move a file to trash in gnome the files does not show in the desktop trash bin. But when i cd into the .Trash dir on this partition the file is there  Does anybody know if there is an option in gnome or mount flag that need to be set to enable this behaviour? On other non reiser4 partition this work by default

Reproducible: Always
Steps to Reproduce:
1.move file to trash
2.check bin on desktop
3.check .trash folder on partition

Actual Results:  
THe files are not in the desktop trash bin but are in the .trash folder on the 

Expected Results:  
To see the files in the desktop trash bin

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-, 
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/
config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe"
FEATURES="autoaddcvs ccache sandbox"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-
main.alternative /usr/local/overlays/bmg-gnome-current.alternative"
USE="3dnow X aalib alsa apm arts avi berkdb bonobo cdr crypt cups encode esd 
foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib jpeg kde ldap libg++ libwww 
mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam 
pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk 
tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-07-20 11:55:05 UTC
We do not support reiser4 (currently). If reproducable on non-reiser4 FSes, please feel free to reopen.
Comment 2 Johann Scheepers 2004-10-16 12:03:01 UTC
according to
there is a patch available for gnome-vfs that will fix this issue.
Comment 3 Sander Sweers 2004-10-16 13:16:37 UTC
Created attachment 41984 [details, diff]
Reiser4 fix

Patch applies cleanly to gnome-vfs-2.8.1. It also solves the problem, huray!
Comment 4 Sander Sweers 2004-10-16 13:19:02 UTC
Although it is not supported it is a small patch, applies clean and solve the problem for a lot of people.
Comment 5 Joe McCann (RETIRED) gentoo-dev 2004-10-20 12:13:18 UTC
*** Bug 68273 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Hernández Velasco 2004-10-27 10:53:19 UTC
Created attachment 42706 [details, diff]
patch for gnome-vfs-2.8.1.ebuild to include reiserfs4 fix.

the patch for reiserfs4 applies clean for me, and gnome-vfs compiles fine.
can't try in with reiserfs4 fs so if anyone can test and confirm...
i've attached a patch to apply to the gnome-vfs-2.8.1 ebuild (it's trivial but
if can save 3-4 seconds... :).
Comment 7 Johann Scheepers 2004-10-28 08:57:55 UTC
both patches apply cleanly and resolve the issue.
Comment 8 foser (RETIRED) gentoo-dev 2004-11-02 16:11:28 UTC
added to gnome-vfs-2.8.1-r2

thanks for the report
Comment 9 Sander Sweers 2004-11-21 09:20:46 UTC
Created attachment 44418 [details, diff]
New patch for gnome-vfs-2.8.3
Comment 10 Sander Sweers 2004-11-21 09:21:48 UTC
New patch for gnome-vfs-2.8.3, applied, tested and working like in 2.8.1.
Comment 11 foser (RETIRED) gentoo-dev 2004-11-21 09:54:22 UTC
silly me, i really remember fixing that patch for 2.8.3. Must've lost it somewhere along the way.

thnx, readded in 2.8.3-r1
Comment 12 Joel Parker 2004-11-22 12:45:26 UTC
I'm seeing this exact behavior using 2.8.1 and ext3. I can delete things by either dragging them to the Trash icon, pressing 'delete' in Nautilus, or manually moving them to ~/.Trash. Either way, the Trash icon remains empty and the Empty Trash menu item is grayed out.

When I double-click on the Trash icon, it opens Nautilus with an address of "trash:". Changing it to "Trash:///" has no effect (it changes back to "trash:").