Extension causes saving files to desktop to be slow

Bug #1826604 reported by Paul Natsuo Kishimoto on 2019-04-26
This bug affects 12 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons (Ubuntu)

Bug Description

To reproduce:
1. Create a text file (foo.txt) on the desktop and open in gedit.
2. Type a few lines in the file and save it.

Expected: the file saves more or less instantly.

- The file takes several seconds to save.
- The following lines appear in the journal:

Apr 26 22:20:40 khaeru-laptop gnome-shell[3205]: JS ERROR: TypeError: fileItem is null

- Repeating #1 and #2 with a file that is in another folder (i.e., not on the desktop), the file saves instantly, and the log messages do not appear.
- This might be a duplicate/alternate description of lp#1816205.
- Discovered while trying to diagnose lp#1826219.

$ lsb_release -rd && apt-cache policy gnome-shell-extension-desktop-icons
Description: Ubuntu 19.04
Release: 19.04
  Installed: 19.01.1-1
  Candidate: 19.01.1-1
  Version table:
 *** 19.01.1-1 500
        500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu disco/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-shell-extension-desktop-icons 19.01.1-1
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 26 22:24:04 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-10-11 (562 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-desktop-icons
UpgradeStatus: Upgraded to disco on 2019-04-22 (4 days ago)

Paul Natsuo Kishimoto (khaeru) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you report the issue upstream on https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/issues?

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
importance: Undecided → High
Paul Natsuo Kishimoto (khaeru) wrote :


description: updated
Sebastien Bacher (seb128) wrote :


Changed in gnome-shell-extension-desktop-icons:
status: Unknown → New
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Triaged
Gon Solo (gonsolo) wrote :

This hits me twofold:
1. Quitting vim in a terminal takes more than one second which is very annoying.
2. I don't want desktop icons.

My (sledgehammer) solution: "sudo rm -rf /usr/share/gnome-shell/extensions/desktop-icons@csoriano"

Chris (s-chris-b) wrote :

Thanks gonsolo, that workaround worked for me (with a restart)

Matt Lu (matlu) wrote :

On my systems, this bug also affected saving files from firefox, regardless of the destination!
This is not about the time for downloading, I'm talking about ~1 kB files.

On one machine, it took 4-5 seconds saving such files to any location (not just the desktop), on the other it took over 2 seconds. After renaming the extension, saving from firefox happened instantly again on both machines.

thebravoman (thebravoman) wrote :

I removed desktop icons. Clean a nice desktop and no more 5 seconds save on every file.

Ubuntu 19.04

cd /usr/share/gnome-shell/extensions/
sudo tar -czvf <email address hidden> desktop-icons@csoriano/
sudo rm desktop-icons@csoriano -r

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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