Go to file
Jasper St. Pierre 842c792868 search: Only do a subsearch if the previous results have returned from DBus
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>
2013-11-04 14:50:45 -05:00
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
browser-plugin build: Remove -DG_DISABLE_DEPRECATED 2013-08-15 16:06:54 -04:00
data Remove wanda 2013-10-29 15:46:49 -04:00
docs build: Fix linker errors on Debian/Ubuntu 2013-09-06 16:21:55 +02:00
js search: Only do a subsearch if the previous results have returned from DBus 2013-11-04 14:50:45 -05:00
man Document --clutter-display in the man page 2013-05-16 18:43:52 -04:00
po Updated Greek translation 2013-11-04 10:53:08 +02:00
src app-system: Fix memory leak 2013-11-03 16:20:00 -05:00
tests st: Remove support for fixed positioning in BoxLayout 2013-07-09 23:19:20 +02:00
tools build: Switch to 3.10 moduleset 2013-08-23 23:40:03 +02:00
.gitignore Load JS from GResource 2013-10-30 13:27:16 -04:00
.gitmodules Use libgnome-volume-control from a submodule 2012-12-08 15:53:46 +01:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Use libgnome-volume-control from a submodule 2012-12-08 15:53:46 +01:00
configure.ac app-system: Remove use of gnome-menus internally 2013-11-02 20:12:37 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
gnome-shell.doap Revert "doap: add myself to doap file" 2013-03-15 14:02:31 -04:00
HACKING popupMenu: Remove our custom allocation code 2013-08-13 06:50:25 -04:00
MAINTAINERS MAINTAINERS: Fix my email address 2011-05-23 09:15:58 -04:00
Makefile.am Support disabling browser plugin 2013-10-31 12:44:51 -04:00
NEWS Bump version to 3.11.1 2013-10-30 17:04:40 +01:00
README Add README and DOAP file 2009-09-04 15:23:13 -04:00

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.