Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
9970671bb1
Currently to know how many results we could show for GridResults we use the width of the bin containing those results. Since it's expanding it shouldn't be a problem. But it becomes a problem when no results are displayed, thus the container becomes hidden and it losts its allocation. In the next introduction of terms in search we call again maxDisplayedResults but it doesn't have allocation yet, and therefore no results are displayed (currently a bug on IconGrid makes the min size = one icon, so actually we show one and only one icon in this case). To solve that use the parent container which contains the search results of all providers or the text label with not displayed results, so it always have the real available width to calculate maxDisplayedResults. Thanks Alban Browaeys for the debugging footwork. https://bugzilla.gnome.org/show_bug.cgi?id=732416 |
||
---|---|---|
.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.