Extension causes saving files to desktop to be slow

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

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.

Observed:
- 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
                                                 _updateDesktopIfChanged@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:339:17
                                                 _monitorDesktopFolder/<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:299:89

Notes:
- 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
gnome-shell-extension-desktop-icons:
  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 :

Done.

description: updated
Sebastien Bacher (seb128) wrote :

Thanks

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)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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