This bug was fixed in the package gnome-shell-extension-desktop-icons-ng
- 46+really47.0.9-1ubuntu2
---------------
gnome-shell-extension-desktop-icons-ng (46+really47.0.9-1ubuntu2) noble;
urgency=medium
[ Sergio Costas Rodriguez ]
* Add apparmor rules and update the thumbnail-factory API usage to make
thumbnails work again (LP: #2064849)
* Limit the number of templates and fix a continuous relaunch of the desktop
icons program when there are too many folders in the template folder
(LP: #2081198)
* Fix error when showing the preferences from the extensions application
(LP: #2061070)
-- Alessandro Astone <[email protected]> Mon, 23 Jun
2025 15:43:18 +0200
** Changed in: gnome-shell-extension-desktop-icons-ng (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-desktop-icons-ng
in Ubuntu.
https://bugs.launchpad.net/bugs/2081198
Title:
ding.js is consuming too much CPU
Status in gnome-shell-extension-desktop-icons-ng package in Ubuntu:
Fix Released
Status in gnome-shell-extension-desktop-icons-ng source package in Noble:
Fix Released
Status in gnome-shell-extension-desktop-icons-ng source package in Oracular:
Won't Fix
Status in gnome-shell-extension-desktop-icons-ng source package in Plucky:
Fix Released
Bug description:
My XPS 9320 laptop's fans often run at high speeds even when no CPU-
intensive processes are active. Using htop, I determined that the top
CPU-consuming process was ding.js (by rastersoft). After disabling the
ding extension, CPU usage returned to normal levels.
However, when active, system icons seem to be malfunctioning. For
example, I cannot rename desktop icons.
This is my Ubuntu System:
Description: Ubuntu 24.04.1 LTS
Release: 24.04
The software version:
gnome-shell-extension-desktop-icons-ng:
Installato: 46+really47.0.9-1
Candidato: 46+really47.0.9-1
Tabella versione:
*** 46+really47.0.9-1 500
500 http://it.archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell-extension-desktop-icons-ng 46+really47.0.9-1
ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
Uname: Linux 6.8.0-45-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 19 16:44:20 2024
InstallationDate: Installed on 2024-04-29 (143 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
PackageArchitecture: all
ProcEnviron:
LANG=it_IT.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
SourcePackage: gnome-shell-extension-desktop-icons-ng
UpgradeStatus: No upgrade log present (probably fresh install)
[ Bug ]
The bug is due to resource exhaustion during the creation of the
Templates list for desktop icons. Since each folder inside is
registered in a GLib Monitor to detect changes and refresh the list,
if there are too many folders, the number of open file descriptors
will be too big and the desktop icons application will crash.
[ User impact ]
This bug, when produced, not only prevents using the desktop icons,
but also produces an annoying effect due to the desktop program
resetting over and over again, forcing the user to disable the desktop
icons extension.
[ Test plan ]
- Remove the Templates folder
- Soft link the home folder (or any other folder with a lot of subfolders)
with the Templates name: ln -s . Templates
- Another way is to copy data inside the Templates folder with more than 1024
folders
- The desktop icons will begin to appear and disappear
[ Risks ]
The risk, in the worst case, is that the templates in the desktop stop
working, but at least the rest of the desktop icons would work.
[ Other info ]
The patch sets a limit to the number of templates, to ensure that the
number of open file descriptors isn't too much big, and thus avoiding
its exhaustion.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/+bug/2081198/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp