** Description changed:

- Some times I go to the activites menu and try to search for a GUI
- application, let's say, Firefox, and for some reason no GUI applications
- are being showed. What I could get from logs was:
+ [ Impact ]
+ 
+ * App search in the overview sometimes returns no GUI applications at all,
+   with "Wrong number of result metas returned by search provider
+   org.gnome.Characters.desktop: expected 5 but got 0" in the journal.
+   Disabling the snapd search provider works around it.
+ * GNOME Shell may destroy the search provider display when it reloads the
+   remote providers; the snapd provider kept only a connect id and then used
+   the destroyed display, breaking the search for every provider.
+ 
+ [ Test Plan ]
+ 
+ * On Ubuntu 26.04 with the snapd search provider enabled, open the overview
+   and search for an application (e.g. "firefox").
+ * Repeat after the shell reloaded the remote providers (lock/unlock or a
+   search provider settings change).
+ * Expected: applications are found.
+ * Actual: no applications are shown and the journal logs the error above.
+ 
+ [ Where problems could occur ]
+ 
+ * The provider drops its display on destroy; the signal is connected with
+   connectObject(), so it is disconnected automatically with the provider.
+ 
+ [ Other Info ]
+ 
+ * Upstream: gnome-shell-snapd-search-provider 5ba3fab
+   ("snapFinderSearchProvider: Track display destruction").
+ 
+ ---
+ 
+ 
+ Some times I go to the activites menu and try to search for a GUI 
application, let's say, Firefox, and for some reason no GUI applications are 
being showed. What I could get from logs was:
  
  jun 29 12:46:00 glados gnome-shell[10854]: Error: Wrong number of result
  metas returned by search provider org.gnome.Characters.desktop: expected
  5 but got 0
  
-                                            Stack trace:
-                                              
_ensureResultActors@resource:///org/gnome/shell/ui/search.js:242:19
-                                              
async*updateSearch@resource:///org/gnome/shell/ui/search.js:270:28
-                                              
_updateResults@resource:///org/gnome/shell/ui/search.js:895:27
-                                              
_doProviderSearch@resource:///org/gnome/shell/ui/search.js:736:24
-                                              
async*_doSearch/<@resource:///org/gnome/shell/ui/search.js:748:18
-                                              
_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/override>
-                                              
@resource:///org/gnome/shell/ui/init.js:20:20
+                                            Stack trace:
+                                              
_ensureResultActors@resource:///org/gnome/shell/ui/search.js:242:19
+                                              
async*updateSearch@resource:///org/gnome/shell/ui/search.js:270:28
+                                              
_updateResults@resource:///org/gnome/shell/ui/search.js:895:27
+                                              
_doProviderSearch@resource:///org/gnome/shell/ui/search.js:736:24
+                                              
async*_doSearch/<@resource:///org/gnome/shell/ui/search.js:748:18
+                                              
_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/override>
+                                              
@resource:///org/gnome/shell/ui/init.js:20:20
  
  For some reason this search provider is causing problems, or maybe other
  search providers. Here is the list of configured search providers that I
  could get from dconf: ['org.gnome.Contacts.desktop',
  'org.gnome.Documents.desktop', 'org.gnome.Nautilus.desktop', 'snap-
  store_snap-store.desktop', 'userapp-Firefox-XYTBL2.desktop',
  'org.gnome.GPaste.Ui.desktop', 'org.gnome.Calculator.desktop',
  'org.gnome.Calendar.desktop', 'org.gnome.Characters.desktop',
  'org.gnome.clocks.desktop']
  
  Please let me know if you need any kind of tests.
  
- ProblemType: Bug
- DistroRelease: Ubuntu 26.04
+ ProblemType: BugDistroRelease: Ubuntu 26.04
  Package: gnome-shell 50.1-0ubuntu1
  ProcVersionSignature: Ubuntu 7.0.0-27.27-generic 7.0.6
  Uname: Linux 7.0.0-27-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jun 29 12:57:22 2026
  DisplayManager: gdm3
  InstallationDate: Installed on 2021-11-26 (1676 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
- RelatedPackageVersions: mutter-common 50.1-0ubuntu2.2
- SourcePackage: gnome-shell
+ RelatedPackageVersions: mutter-common 50.1-0ubuntu2.2SourcePackage: 
gnome-shell
  UpgradeStatus: Upgraded to resolute on 2026-02-28 (121 days ago)
  
  ---
  External link: https://warthogs.atlassian.net/browse/UDENG-11108

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

Title:
  Application search crashing and showing no applications (unless snapd-
  search-provider is disabled)

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


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

Reply via email to