After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 114497 - Nautilus cannot view hidden files and backup files on desktop
Nautilus cannot view hidden files and backup files on desktop
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 47082 150491 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-06-05 15:58 UTC by Rajkumar
Modified: 2005-02-11 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch as stated above. (4.75 KB, patch)
2003-06-11 09:41 UTC, Rajkumar
none Details | Review

Description Rajkumar 2003-06-05 15:58:33 UTC
Steps to reproduce:

1. Touch .a and a~ in ~/.gnome-desktop

2. Launch nautilus file manager

3. Choose Edit->Preferences and launch 'Preferences' dialog

4. Select [Icon & List Views] categories in it

5. Check [Hidden files and Backup files] in [Show Options] field and close
the dialog

Now the user would expect the nautilus to show both .a and a~ on the
desktop as that of in a nautilus window, but it doesn't show it on the
desktop.
Comment 1 Dave Camp 2003-06-05 16:03:36 UTC
this is on purpose.  Among other things, it'll make the desktop
useless for $HOME-as-desktop if the user toggles show hidden files.
Comment 2 Alexander Larsson 2003-06-05 16:08:57 UTC
I think we need to rethink the global view-hidden-files thing anyway.
I don't think thats really right.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2003-06-05 19:26:18 UTC
I always thought this should work through an inheritance mechanism,
such that if you set one folder to show hidden files via a view menu
item, than all folders it contains inherit this property unless it is
toggled and so forth. I realize this creates a large performance
problem though :/
Comment 4 Rajkumar 2003-06-11 09:39:29 UTC
Considering the above comments I have worked out a fix/proposal as
follows:

If ((nautilus desktop view use ~/.gnome-desktop/*) && Show Hidden
Files)
       Display-Hidden-Files on Desktop
else if ((nautilus desktop view use HOME-Directory) && Show Hidden
Files)
       Hide-Hidden-Files


with this fix on selecting "Show Hidden files":

- when the users select HOME-Directory as Desktop option the displayed
files will be limited only to the normal files, there by avoiding any
mess on the desktop. On the other hand when the user is in default
scenario for desktop view (i.e., show files from ~/.gnome-desktop/*)
then the hidden files will also be displayed providing the users
access to the hidden files also.

(and its a trade off between desktop mess & providing the user of the
option of viewing hidden files on desktop)
Comment 5 Rajkumar 2003-06-11 09:41:09 UTC
Created attachment 17433 [details] [review]
Patch as stated above.
Comment 6 Matthew Gatto 2003-12-04 18:03:55 UTC
*** Bug 47082 has been marked as a duplicate of this bug. ***
Comment 7 Dave Camp 2004-04-28 20:30:38 UTC
I think that since we've switched the desktop to a user-visible directory
(~/Desktop/) this isn't as important - users that want to see hidden files can
just open ~/Desktop in a normal window.
Comment 8 Sebastien Bacher 2005-02-11 17:14:26 UTC
*** Bug 150491 has been marked as a duplicate of this bug. ***