Bug 1103394 - Open the gnome file browser, Auto show the hidden files.
Summary: Open the gnome file browser, Auto show the hidden files.
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus
Version: 20
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-31 01:49 UTC by Fang Junwei
Modified: 2015-06-29 20:53 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 20:53:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to try and make show-hidden pref persist (542 bytes, text/plain)
2014-10-25 19:21 UTC, James
no flags Details

Description Fang Junwei 2014-05-31 01:49:45 UTC
Description of problem:
When I open the gnome file browser,  the hidden files was shown. 
And then I set don't display the hidden files item on the file browser, the hidden fiels hidden correctly, but when I reopen the file browser, they will show again. What Should I do?

How reproducible:


Steps to Reprod
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fang Junwei 2014-05-31 01:53:33 UTC
My system is Fedora 20 with Gnome 3.12

Comment 2 Fang Junwei 2014-05-31 02:01:44 UTC
Another bug .
Description of problem:
I set the transparent background for my gnome-teminal, when I first open the terminal, its background was black, and reopen the terminal it works correctly.

Comment 3 James 2014-10-25 18:57:56 UTC
This also happens in Fedora 21, nautilus-3.14.0-2.fc21.x86_64.

"Show Hidden Files" in the Nautilus menu isn't setting the show-hidden boolean in dconf:org.gtk.Settings.FileChooser, so what's chosen here doesn't persist when Nautilus is closed.

(In reply to Fang Junwei from comment #0)
> Description of problem:
> When I open the gnome file browser,  the hidden files was shown. 
> And then I set don't display the hidden files item on the file browser, the
> hidden fiels hidden correctly, but when I reopen the file browser, they will
> show again. What Should I do?

Try the following:
1. Open gedit and type anything.
2. Click on Save.
3. In the Save As window, right-click in the file list and uncheck "Show Hidden Files".
4. Click Cancel in the Save As window, and closed gedit.
5. Start Files again.

Comment 4 James 2014-10-25 19:21:22 UTC
Created attachment 950696 [details]
patch to try and make show-hidden pref persist

I've been digging through the source and it looks like this shouldn't be too hard to fix. I guess we need something like

    g_settings_set_boolean (gtk_filechooser_preferences,
                            NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES,
                            show_hidden);

in nautilus_view_set_show_hidden_files() in nautilus-view.c.

I've attached a patch, although this should only be taken as a fixability demo. I don't know the guts of Nautilus or GSettings well enough to know whether what I've done above is correct (but it worked for me...).

Comment 5 James 2014-10-26 13:03:09 UTC
Upstream is GNOME Bugzilla 710093.

Comment 6 James 2014-10-26 13:14:32 UTC
Comment on attachment 950696 [details]
patch to try and make show-hidden pref persist

It seems that the global show-hidden boolean is actually toggled by the Files Preferences dialogue -- "Views" tab, "Show hidden and backup files". This *does* persist as it should, as opposed to the one in the Files window drop-down menu (which is transient and per-view).

While this difference isn't particularly obvious in the UI, I can appreciate why it's there.

As such I withdraw this patch.

Comment 7 Fedora End Of Life 2015-05-29 11:59:22 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2015-06-29 20:53:11 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.