Show Hidden Files broken in common dialogs

Bug #136711 reported by xtknight
14
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Steps to reproduce:

Open gedit (or other GNOME app with file dialogs)
Click File->Open
Choose a file in a folder with hidden files, such as /home/$USER. This makes sure the dialog opens to /home/$USER by default, one criteria for this bug to occur. (gedit for sure saves "last location")
Again, click File->Open (or Save As)
Right click on file viewport and enable Show Hidden Files.
Cancel out of the dialog
Click File->Open
Right click on file viewport and disable Show Hidden Files.

The behavior is unexpected (seems like the viewport does not refresh). If you keep clicking "Show Hidden Files" you can even get duplicates.

P.S. Make sure your File->Open dialog is opening default to a folder with hidden files, such as /home/$USER. Or else, this bug will not be reproducible, since when you click on a folder, it is refreshed! To get it to open up to /home/$USER by default, simply open a file in /home/$USER before following the above instructions. For example, open a text file from /home/$USER in gedit, then follow the above instructions.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thank you for reporting this bug.
I can't reproduce this at Feisty 32bit, what version are you using?

Changed in nautilus:
assignee: nobody → qense
status: New → Incomplete
Revision history for this message
xtknight (xt-knight) wrote :

I am using Gutsy 64-bit w/ all updates to 9/2/07.

nautilus Version: 1:2.19.91-0ubuntu1

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thank you for your reaction. At the moment I'm upgrading to Gutsy 64bit too, but if anyone else has this issue too it can be confirmed.

xtknight (xt-knight)
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I can't confirm this by myself. (at Gutsy amd64)
Is this still an issue since the last updates?

Revision history for this message
Sebastien Bacher (seb128) wrote :

not confirming on gutsy, changing the option works correctly

Revision history for this message
xtknight (xt-knight) wrote :

Attached is one situation that I arrive at. I fresh-installed Gutsy Tribe 5 AMD64 and did an update last night (updates to 7/5/07).

Doing the situation above + enabling show hidden files one more time yields this in the screenshot.

Revision history for this message
xtknight (xt-knight) wrote :

I should mention my fresh install was a fresh install of / but not /home.

Revision history for this message
xtknight (xt-knight) wrote :

The bug status is Incomplete. Is there any more info you would like?

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I am waiting now for someone to confirm. I can't confirm this bye myself, but I'll try once more with a fresh account.

Revision history for this message
C de-Avillez (hggdh2) wrote :

Cannot confirm. Switching "show hidden files" on/off on gEdit or Nautilus work as expected.

Gutsy 64 up-to-date.

Revision history for this message
xtknight (xt-knight) wrote :

I can't reproduce it with a fresh account. I think my old account was a clean account created with an older Gutsy. I guess the bug is invalid unless it is reproducible with a dist-upgrade from Feisty. Should I close it or leave it open in case someone encounters the issue with Feisty?

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

I think we can call this bug invalid.
If someone has the same problem (again) please reopen the bug.

Changed in nautilus:
assignee: qense → nobody
status: Incomplete → Invalid
Revision history for this message
dougfractal (dougs-b) wrote :

I'm still not clear on how to fix this.
It's annoying as all the .dot files are at the top of the list.

i'm Gutsy and up to date using an old /home folder.

is this a gtk thing? as it affects all my "open" dialogs.

'Switching "show hidden files" on/off on gEdit ' how?

Revision history for this message
dougfractal (dougs-b) wrote :

Now I feel foolish.

I accidentally right clicked the file list box and there was an menu "Show Hidden Files"

problem solved. :-)

Revision history for this message
Ryiden (hansgeorg-schwibbe-googlemail) wrote :

I can confirm this bug. For the people who don't believe it, here is a captured desktop video.

Revision history for this message
Ryiden (hansgeorg-schwibbe-googlemail) wrote :

I confirmed the bug with an desktop capture video

Changed in nautilus:
status: Invalid → Confirmed
Revision history for this message
xtknight (xt-knight) wrote :

Reconfirmed on fresh Gutsy.

Revision history for this message
Marc Carson (baggageclaim) wrote :

Confirmed in Gutsy. Please fix - it makes it difficult for new users to find their way around, wondering what all these dot folders are. :)

Revision history for this message
Tristan Schmelcher (tschmelcher) wrote :

I get this on a 100% fresh gutsy install with a slightly different behaviour. When I follow the steps in the original report, disabling Show Hidden Files at the end makes the file picker instead show ONLY hidden files, and only a few of them at that! For this to happen though, you must have closed and re-opened the file picker after enabling Show Hidden Files (as directed in the report). I have not encountered the duplicates from Ryiden's video.

Attached is my own desktop session capture.

Revision history for this message
Patryk J (patryk-digital-evolutions) wrote :

I can confirm this within Firefox (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11), but not in gEdit.
I've testing this in several situations (save page as, save download, open file, save frame as). The two features that repeat the bug are "save download" and "save frame as". Save Download is described below:

Make sure your Firefox settings allow you to pick the location to save downloads:
Edit -> Preferences -> Main -> [Downloads] -> (*) Always ask me where to save files

Click on a link (anywhere) that will prompt you to download a file.
1. When the Download Dialog appears (Open/Save); Make sure "Save to Disk" is selected and click "OK"
2. The File-Picker window appears. Browse to your home directory, right-click, mark "Show Hidden Files".

At this point, the hidden files appear. If you repeat the last step (step 2), everything works normally. Leaving "Show Hidden Files" checked;
3. Click the "Cancel" button.
4. Repeat steps 1 and 2 (in order): The result will show a partial listing of the hidden files/directories in your home directory --limited to the number of NON-hidden files/directories in your home directory.

Conclusion / Evaluation:
It seems that upon returning and removing the "Show Hidden Files" option, the directory listing is truncated to the correct NUMBER OF ITEMS (files/directories) that are NOT hidden, but their actual names are not updated.
Looks like a missing step in the standard operation of updating a directory listing.

At the time of writing this, I had just installed fresh from a 7.10 (gutsy) disc. I'm running a 64bit version (core 2 quad).

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue using hardy and describe easy steps to trigger the bug?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Tristan Schmelcher (tschmelcher) wrote :

Does not repro for me in Hardy.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in gtk+2.0:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.