Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57756

Summary: Files not in trash when moved from reiser4 partition
Product: Gentoo Linux Reporter: Sander Sweers <Sander.Sweers>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: minor CC: jbilbo, jjk3, ruben
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 66864    
Attachments: Reiser4 fix
patch for gnome-vfs-2.8.1.ebuild to include reiserfs4 fix.
New patch for gnome-vfs-2.8.3

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 
partition

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-2.3.4.20040619-r0, 
2.6.7-gentoo-r11)
=================================================================
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
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-
main.alternative /usr/local/overlays/bmg-gnome-current.alternative"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
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 http://bugs.gnome.org/show_bug.cgi?id=153100
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:").