Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
cea946e745
The updateSearch() function is called in SearchResults every time new search hits are available from a search provider; SearchResults will wait for updateSearch() to complete in a callaback, to update the overall progress of the search operation. updateSearch() will call _ensureResultActors(), which will in turn call getResultMetas() on the search provider, which is an operation that can fail arbitrarily or return inconsistent data, as it's entirely in the hands of the search provider. In case _ensureResultActors() returns a failure, updateSearch() is currently failing to notify the passed-in callback, which might leave SearchResults in an inconsistent state: make sure the asynchronous flow always ends up with a notification to the updateSearch() callback. |
||
---|---|---|
.settings | ||
browser-plugin | ||
data | ||
docs | ||
js | ||
man | ||
po | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.project | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
gnome-shell.doap | ||
HACKING | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README |
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience. For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see: https://wiki.gnome.org/Projects/GnomeShell Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell' product. License ======= GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.