** Description changed:
[ Impact ]
* The snapd search provider throws on every search because
- SnapFinderSearchProvider.get_id() does not exist: the id getter falls back
- to a static method that was never defined, so it raises a TypeError when
- the snap-store desktop file is not shown (it is NotShowIn=ubuntu).
+ SnapFinderSearchProvider.get_id() does not exist: the id getter falls back
+ to a static method that was never defined, so it raises a TypeError when
+ the snap-store desktop file is not shown (it is NotShowIn=ubuntu).
* The exception aborts GNOME Shell's search loop, so app search returns
- nothing and the journal gets a JS backtrace on every keystroke.
+ nothing and the journal gets a JS backtrace on every keystroke.
[ Test Plan ]
* On Ubuntu 26.04, in the default ubuntu session uninstall
- the the snap-store.
+ the the snap-store.
* Press Super and search for an application (e.g. "terminal").
* Expected: applications are found and no JS ERROR is logged.
- * Actual: no results and the TypeError above on every search.
[ Where problems could occur ]
* The proto-handler fallback now uses
- Gio.AppInfo.get_default_for_uri_scheme('snap'); if no handler is installed
- the provider logs and returns instead of throwing.
+ Gio.AppInfo.get_default_for_uri_scheme('snap'); if no handler is installed
+ the provider logs and returns instead of throwing.
[ Other Info ]
* Upstream: gnome-shell-snapd-search-provider 4f09ec4
- ("snapFinderSearchProvider: Define proper proto-handler fallback").
+ ("snapFinderSearchProvider: Define proper proto-handler fallback").
---
When I press the "start" key to bring up the desktop search (and it also
shows a nice panorama of all my windows), and search for some app like
"terminal", nothing is found. In the logs I get this backtrace:
Apr 24 15:21:26 nsnx2 gnome-shell[8084]: JS ERROR: TypeError:
SnapFinderSearchProvider.get_id is not a function
get
id@file:///usr/share/gnome-shell/extensions/[email protected]/snapFinderSearchProvider.js:64:74
_doSearch/<@resource:///org/gnome/shell/ui/search.js:747:45
_doSearch@resource:///org/gnome/shell/ui/search.js:746:25
_onSearchTimeout@resource:///org/gnome/shell/ui/search.js:759:14
_init/this.timeout_add_once/id<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:436:13
@resource:///org/gnome/shell/ui/init.js:20:20
ProblemType: BugDistroRelease: Ubuntu 26.04
Package: gnome-shell 50.1-0ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
Uname: Linux 7.0.0-14-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 24 15:22:50 2026
DisplayManager: gdm3
InstallationDate: Installed on 2024-07-13 (650 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 50.1-0ubuntu2SourcePackage: gnome-shell
UpgradeStatus: Upgraded to resolute on 2026-03-29 (26 days ago)
---
External link: https://warthogs.atlassian.net/browse/UDENG-11103
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150265
Title:
App search doesn't work, yields javascript backtrace in logs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2150265/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs