Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
842c792868
There's a potential race condition in the search code: if we have an outstanding search call to a provider for search "A", and if before it comes back we do a subsearch for "AB", we won't have any results to pass along. Previously, we used an empty list when storing the provider results, so we effectively told the remote search app to filter through this empty list for any search results that meet the new query, meaning we showed the user 0 results for the provider in this case. Now that we don't store an empty list, but instead store `undefined`, this race raises a warning. Solve it by doing an initial search query in this case instead. The search code isn't too smart about chained subsearches: now, if we hit this race while already on a subsearch, we'll do an initial search for the subsearch query instead, but that is much better than showing the user nothing. This could be fixed in the future for a performance improvement. Reviewed-by: Florian Müllner <fmuellner@gnome.org> |
||
---|---|---|
.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: http://live.gnome.org/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.