Public bug reported: GNOME Shell freezes during login when the trash folder contains a large number of files. The ubuntu-dock extension attempts to monitor and enumerate trash contents during initialization, which blocks the xdg- desktop-portal-gnome.service from starting.
Steps to reproduce: 1. Have a large trash folder (in my case: 82GB, 1443 items) 2. Log out and log back in 3. Desktop is frozen/unresponsive for ~25-30 seconds Expected behavior: Trash enumeration should happen asynchronously and not block the login process or portal services. Actual behavior: Desktop freezes until trash enumeration times out with errors: gnome-shell: Impossible to monitor trash: Gio.IOErrorEnum: Timeout was reached gnome-shell: Impossible to get trash children from infos: Gio.IOErrorEnum: Timeout was reached Technical details: The freeze occurs in TrashAppInfo._init() which calls _updateTrash() synchronously during dock initialization: Stack trace: _init@file:///usr/share/gnome-shell/extensions/[email protected]/locations.js:705:43 TrashAppInfo@file:///usr/share/gnome-shell/extensions/[email protected]/locations.js:682:1 _ensureApp@file:///usr/share/gnome-shell/extensions/[email protected]/locations.js:1277:22 _ensureLocations@file:///usr/share/gnome-shell/extensions/[email protected]/docking.js:1840:50 DockManager@file:///usr/share/gnome-shell/extensions/[email protected]/docking.js:1722:14 systemd-analyze --user blame shows: 26.670s xdg-desktop-portal.service 26.399s xdg-desktop-portal-gnome.service Timeline from journalctl: - 18:39:25 - xdg-desktop-portal-gnome.service starts - 18:39:51 - "Impossible to monitor trash: Timeout was reached" - 18:39:52 - xdg-desktop-portal-gnome.service finally completes (27s delay) Manually running "gio list trash://" with the same trash contents takes 25 seconds. System information: - Ubuntu (GNOME Shell on Wayland) - Kernel: 6.11.0-26-generic - gnome-shell-extension-ubuntu-dock (current version from Ubuntu repos) ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell-extension-ubuntu-dock 90ubuntu3 ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11 Uname: Linux 6.11.0-26-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Sat Jan 31 18:44:57 2026 InstallationDate: Installed on 2024-08-21 (528 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424) PackageArchitecture: all SourcePackage: gnome-shell-extension-ubuntu-dock UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-shell-extension-ubuntu-dock (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble wayland-session -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/2139505 Title: Desktop freezes for ~27 seconds at login when trash contains many files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2139505/+subscriptions -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
