Public bug reported:

After the upgrade to 26.04 (from 24.04), desktop icons misbehave whenever at 
least
one "stack" icon is on the desktop. Right click on any icon does
nothing (no context menu). Single click sometimes only gives focus
without selection. Double click still opens items.

Each failed interaction logs this in the user journal:

  DING: Gjs-CRITICAL **: JS ERROR: TypeError: this._getVisibleName
  is not a function
    _setSelectedStatus@app/desktopIconItem.js:475
    via selected()@app/desktopManager.js:1384

Root cause: selected() walks all icons to update selection state.
_setSelectedStatus calls this._getVisibleName(), but that method is
defined only in FileItem (app/fileItem.js:235). stackItem also
extends desktopIconItem and does not define it. When the walk reaches
a stack icon, the exception aborts the event handling, so the context
menu (and part of the selection logic) never runs.

Steps to reproduce:
1. Enable "keep stacked by type" so at least one stack icon exists.
2. Right click any desktop icon. No menu appears; the journal logs
   the TypeError.

Workaround: disable stacks in the DING settings. All interactions
work again.

Suggested fix: add _getVisibleName() to stackItem, or move a default
implementation into desktopIconItem.

Files ship in gnome-shell-ubuntu-extensions (confirmed via dpkg -S),
not gnome-shell-extension-desktop-icons-ng.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gnome-shell-ubuntu-extensions 50.26.04.7ubuntu
ProcVersionSignature: Ubuntu 7.0.0-29.29-generic 7.0.12
Uname: Linux 7.0.0-29-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug  9 14:58:00 2026
InstallationDate: Installed on 2025-10-01 (312 days ago)
InstallationMedia: Xubuntu Minimal 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-shell-ubuntu-extensions
UpgradeStatus: Upgraded to resolute on 2026-08-06 (3 days ago)

** Affects: gnome-shell-ubuntu-extensions (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163114

Title:
  DING: right click on desktop icons broken when stacks are enabled
  (TypeError: this._getVisibleName is not a function)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2163114/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to