Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 117135
Summary: | double trashes in desktop | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | andrew <andrew_love> |
Component: | nautilus | Assignee: | Alexander Larsson <alexl> |
Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | alexl, eloli, feliciano.matias, gczarcinski, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-17 13:27:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 114961 |
Description
andrew
2004-02-29 08:18:40 UTC
alex, i think it's a bug in nautilus. It should use trash desktop file instead own. Nautilus never creates *any* files in ~/Desktop. The trash icon shown on the desktop in gnome is a virtual file which is never on the disk. The real trash-directory in gnome is more complicated than a single directory. We use directories on all mounts that are merged into the real trash. There is some hacked code in gnome to try to hide the kde trash though... Maybe something changed to make it not work anymore. Nautilus looks in ~/.kde/share/config/kdeglobals for the Paths/Trash key, and makes that hidden. Did that change in kde? no, there's is no change in kde. The kdeglobals file has still the correct entry there. It looks like the hacked code in nautilus does not do correctly if the directory name is translated. For Example on machine with LANG=de, you will see following entry: [Paths] Trash=$HOME/Desktop/Mülleimer/ I bet there is an encoding issue. If you change that to not contain the ü, does this still happen? yes, it's a encoding issue. it works fine if i remove ü or rename it to Trash. by the way, it's not correct in the hacked code to look only in ~/.kde/share/config/kdeglobals. It has to look in ~/.kde/share/config/kdeglobals first and if there's no Paths/Trash key found here, it should look in /usr/share/config/kdeglobals further. There's a same issue in Home.desktop, nautilus should hide the Home.desktop Of course, i still think KDE is wrong in creating files in user-visible directories. The desktop should be owned by the user. *** Bug 103181 has been marked as a duplicate of this bug. *** I tried this, but it seems kde changed behaviour. The directory was called "Trash", but had a .directory file in it with the translated names. Then there was not Trash line in kdeglobals. Alex, i think the better way to handle this issue is that nautilus should support Tag OnlyShowIn and NoDisplay in desktop files than: You mean in the .directory files? It would work for the desktop files, but we disable .directory reading in general due to it slowing down directory loads a lot. I guess we could enable it just for the desktop dir. *** Bug 119646 has been marked as a duplicate of this bug. *** nautilus 2.6.0-4 should fix this. OK, I have nautilus 2.6.0-4 installed (along with the rest of the updates in development as of 15 Apr. This problem (kde icons on gnome/metacity/nautilus desktop is still happening. With a frshly defined user -- login with gnome, logout, login with kde, start terminal, logout, login with gnome ... desktop has kde icons. reopening ... Specifically, do you get the KDE trash icon? If so, whats the name of the trash subdirectory (as showed by ls), and whats the Trash setting in ~/.kde/share/config/kdeglobals and/or /usr/share/config/kdeglobals. nautilus 2.6.0-4 fixed this problem with KDE trash icon for me here. 1. No Trash setting in ~/.kde/share/config/kdeglobals 2. Trash=$HOME/Desktop/Trash in /usr/share/config/kdeglobals But the Trash icon is not really my problem it is haveing kde's home, CD/DVD, and floppy icons.https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119646 was closed as a dup of this report but it really is not. I am going to close this report and open 119646 since it appears to me that it is not a dup. |