Show Hidden Files does not persist and even resets during the same session

Bug #1940543 reported by Jeremy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since 20.04 has been released, the option "Show Hidden Files" has never lasted long. It never persists over a reboot and even during the same session, it will just hide the files after some random (it seems random) interval.

This happens for me on 3 different computers, all different builds. This happens on a vanilla install too. I have never been able to make "Show Hidden Files" last longer than an hourish, and never over a reboot.

I work a lot in hidden files, this is mostly just frustrating to me since it happens randomly and when I am moving around a project, I have to keep toggling "Show Hidden Files" to get work done.

I did have to reinstall `gnome-control-center` after a fresh install and updating Ubuntu 20.04 the latest version, I am not sure if that could help identify the issue but I have always had this issue on 20.04 so I am doubtful.

I did this running:
```
sudo apt install --reinstall gnome-control-center
```

I had to reinstall this since Settings was no longer available after the system was updated (fresh install with `sudo apt update && sudo apt upgrade` is what broken it for me to have to reinstall it.

I even tried using:

```
gsettings set org.gtk.Settings.FileChooser show-hidden true
```
but the issue still happens.

Also, not sure why nautilus is installed, I thought 20.04 was gnome? Again, this is a fresh install (15 days old)

```
$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
```

```
$ apt-cache policy nautilus
nautilus:
  Installed: 1:3.36.3-0ubuntu1
  Candidate: 1:3.36.3-0ubuntu1
  Version table:
 *** 1:3.36.3-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.36.1.1-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
```

```
apt-cache policy gnome
gnome:
  Installed: (none)
  Candidate: 1:3.30+2
  Version table:
     1:3.30+2 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
```

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nautilus 1:3.36.3-0ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 19 09:46:31 2021
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'initial-size' b'(1280, 1393)'
 b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 'date_modified_with_time', 'date_accessed', 'recency', 'starred', 'detailed_type']"
InstallationDate: Installed on 2021-08-03 (15 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:

Revision history for this message
Jeremy (son9ne-junk) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Jeremy, *all* Ubuntu releases have used the GNOME desktop. 'nautilus' is the GNOME file manager which appears to users as the 'Files' application. Assigning to the nautilus package as you originally seem to have intended although another component of the GNOME desktop might actually be at fault. Perhaps, gnome-settings-daemon?

I'm sure a member of the Desktop team will be along shortly to advise you further.

affects: ubuntu → nautilus (Ubuntu)
Revision history for this message
Jeremy (son9ne-junk) wrote :

Thanks for clearing that up Paul. I will provide whatever data I can once someone can check on this ticket.

Revision history for this message
Jeremy (son9ne-junk) wrote :

I think I know why this is happening now.

One of the first things I do when I do a fresh install is remove MySQL since I need to use MySQL 5.7 as 8 causes issues with the projects I work on.

This shows me it is going to remove:

colord gnome-control-center hplip libhpmud0 libmysqlclient21 libsane
  libsane-hpaio libsnmp35 mysql-common mysql-workbench-community
  printer-driver-hpcups sane-utils simple-scan ubuntu-desktop
  ubuntu-desktop-minimal

I normally use `-y` flag but this time I didn't so I wasn't even aware of this happening. This explains why I had to reinstall the desktop and the gnome control center. This is why I was having issues with the hidden files.

While I see this is not a "bug", depending on MySQL 8 is frustrating as this causes many issues when all databases used in enterprise are working with MySQL 5.7. This is mostly due to AWS not supporting 8 for Aurora so this is just an inconvenience for now.

I will need to find a better way to install MySQL 5.7 next to 8 as 5.7 is a requirement for my needs and 8 causes too many issues.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
EA (zakutin) wrote :

I can confirm that this happens when I use File Chooser from Electron apps.

The bug is described here: https://github.com/electron/electron/issues/34706

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.